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

Approaches for Facebook Bots

Discussion in 'Programming' started by judaculla, Aug 24, 2016.

Tags:
  1. judaculla

    judaculla Jr. VIP Jr. VIP

    Joined:
    Oct 11, 2014
    Messages:
    324
    Likes Received:
    118
    Location:
    USA
    I'm making a few Facebook bots in python, and was hoping some of you may care to share your general approaches?

    To be clear—I'm not asking for code, nor am I asking for your bots—I'm looking for conceptual approaches, libraries you've found useful, tips maybe, etc..

    So far, I've coded a group and group member scraper that works pretty much soley through Graph API, and a messaging bot (which is still having the 'kinks' ironed out of it) which relies on Webdriver almost exclusively, with some usage of Beautifulsoup for locating of elements and etc.

    I'm really interested in hearing the approaches that other people are taking.

    Feel free to PM if you don't want to post.
     
  2. weedsmoker

    weedsmoker Junior Member

    Joined:
    May 2, 2011
    Messages:
    190
    Likes Received:
    79
    Same as you, using API when it's possible, lib for generating user agents (you can find a few of them easily), requests lib mostly for scrapping, and automating browser for other tasks where heavy js scripting is involved.
     
    • Thanks Thanks x 1
  3. judaculla

    judaculla Jr. VIP Jr. VIP

    Joined:
    Oct 11, 2014
    Messages:
    324
    Likes Received:
    118
    Location:
    USA
    Thanks for weighing in, I'm pretty new to tackling facebook (and also bots in general) and it's nice to know I'm approaching things as someone more seasoned might.

    Also, props again for a post you made awhile back with a coupld spintax-handling functions. That's reeeally been useful.