minimaxir / facebook-page-post-scraper

Data scraper for Facebook Pages, and also code accompanying the blog post How to Scrape Data From Facebook Page Posts for Statistical Analysis
2.12k stars 663 forks source link

HTTP error 400 : bad request #92

Open hemangpar opened 6 years ago

hemangpar commented 6 years ago

I have put my app_id and app_secret key. { HTTP error 400 : bad request Error for URL. } Please help??

N2ITN commented 6 years ago

I had the same issue but figured it out. My mistake was using the 'Client Secret' from the Facebook app page. Instead, you have to click the button to show your 'App Secret', and enter your FB password and use that to make the app_token as follows: app_token = app_id + '|' + app_secret

Happy scraping :)