1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook competition bot

Discussion in 'General Scripting Chat' started by aetrope, Dec 6, 2015.

  1. aetrope

    aetrope Newbie

    Dec 6, 2015
    Likes Received:
    Hey, guys. I'm researching the possibility of creating a bot that does the following:
    given a site which collects links for facebook competitions. Extract the links and visit them individually.
    After entering the facebookpage find the post for the competition on their timeline (usually the first post with a large number comments.. Say 100 comments).
    Then copy the content of one of the existing answers add some smileyface and post it as your own.
    Maybe have some random time interval between this.

    Problems I've encountered: the facebook api is very restrictive and I'm not sure how to post on other peoples pages using this. I have tried approaches that doesn't use access tokens like pythons mechanize but I find that it lacks the features that I need to accomplish this.

    What would you propose is the best language (and libraries) and strategy to accomplish this in ? I know Javascript, python, java, c. Willing to learn more php or perl if that's what it takes.