1
Hacking and Security / Re: Automating Facebook Login
« on: January 15, 2016, 05:47:46 pm »
Hi,
A very happy new year to you Arjun.
I have tried this once before a year. A few points to note here.
Consider you are able to login automatically and wanted to fetch the friends list.
1. I hope you could have checked the source code once you logged in Facebook. Everything is JavaScript to generate a page.
2. Still site loads the content based on your scroll event.
3. So Requests module will not support JavaScript.
4. Please move to some headless browser like phantomjs casperjs or selenium web driver to automate web automation.
Hope this helps in some point.
Sent from my A0001 using Tapatalk
A very happy new year to you Arjun.
I have tried this once before a year. A few points to note here.
Consider you are able to login automatically and wanted to fetch the friends list.
1. I hope you could have checked the source code once you logged in Facebook. Everything is JavaScript to generate a page.
2. Still site loads the content based on your scroll event.
3. So Requests module will not support JavaScript.
4. Please move to some headless browser like phantomjs casperjs or selenium web driver to automate web automation.
Hope this helps in some point.
Sent from my A0001 using Tapatalk