Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
facebook friends crawler
#4
hey, thanks a lot.

i played a bit with webdriver and chromedriver and all i can say is: 'facebook api what?'. :)))
i setup a fb acc. and made my way to a user's home page but i keep getting stuck at pressing the friends button.
i use theĀ 
chrome.find_element_by_css_selector
function but apparently the value for the 'friends' button differs from one account to another and even from one browser to another so i have to keep running into errors and place the right code into the script.
hopefully i can make the crawler retrieve the css value on its own so i don't have to baby sit it all the time. :D

and by the way, is there any way of doing this faster? like not having to load a chrome page and just make the code do the actions in the background? (but not just run the browser in the background, but not run it at all and make python do the connection itself)

and also, is there any way of using just regular chrome instead of the chromedriver client? it makes it a bit of a pain to keep having to choose notification settings and password settings and all that stuff.
Reply


Messages In This Thread
facebook friends crawler - by edithegodfather - Aug-20-2017, 08:50 PM
RE: facebook friends crawler - by Larz60+ - Aug-20-2017, 09:35 PM
RE: facebook friends crawler - by metulburr - Aug-21-2017, 12:26 AM
RE: facebook friends crawler - by edithegodfather - Aug-21-2017, 02:01 AM
RE: facebook friends crawler - by metulburr - Aug-21-2017, 03:16 AM
RE: facebook friends crawler - by edithegodfather - Aug-21-2017, 03:24 AM
RE: facebook friends crawler - by metulburr - Aug-21-2017, 03:59 AM
RE: facebook friends crawler - by edithegodfather - Aug-21-2017, 07:45 PM
RE: facebook friends crawler - by edithegodfather - Aug-24-2017, 12:37 AM
RE: facebook friends crawler - by metulburr - Aug-24-2017, 04:10 AM
RE: facebook friends crawler - by edithegodfather - Aug-27-2017, 02:07 AM
RE: facebook friends crawler - by edithegodfather - Sep-02-2017, 01:36 PM
RE: facebook friends crawler - by qnkhuat - Jan-15-2018, 07:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Automating Facebook Posts mieciow 2 1,523 Aug-07-2023, 12:34 PM
Last Post: Gaurav_Kumar
  Web scrapping login facebook credentials kosmas9 0 2,009 Aug-17-2020, 01:33 PM
Last Post: kosmas9
  How to click facebook message button JanelleGuthrie 2 2,499 May-14-2020, 06:02 PM
Last Post: Larz60+
  Web Crawler help Mr_Mafia 2 1,989 Apr-04-2020, 07:20 PM
Last Post: Mr_Mafia
  Web Crawler help takaa 39 27,863 Apr-26-2019, 12:14 PM
Last Post: stateitreal
  Need help with Django 2.0 + Facebook SDK avtrrr 4 4,734 Jan-31-2018, 08:36 AM
Last Post: Larz60+
  I need request POST for Facebook in My Profile Kalet 4 4,530 Sep-27-2017, 05:53 PM
Last Post: Kalet
  Facebook AutoPost badpandahere 6 5,207 Sep-12-2017, 11:20 AM
Last Post: badpandahere
  facebook scraping metulburr 3 8,448 Jun-02-2017, 01:00 AM
Last Post: metulburr
  Dear friends, i need your help pls! Josh_Harmony 4 4,683 Jan-27-2017, 04:58 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020