minimaxir/facebook-page-post-scraper

HTTP error 400 : bad request

hemangpar opened this issue · 1 comments

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

N2ITN commented

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 :)