interactive-facebook-reactions icon indicating copy to clipboard operation
interactive-facebook-reactions copied to clipboard

Error

Open PhanDuc opened this issue 8 years ago • 4 comments

Hi,

Thanks for your script, but when i run i have this error : Error Error for URL https://graph.facebook.com/v2.8/537900976268087/posts/?fields=message,link,created_time,type,name,id,comments.limit(0).summary(true),shares,reactions.limit(0).summary(true)&limit=50&access_token="This is number of app_id and app_secret": 2016-10-06 15:10:07.820639

How to fix that error ?

PhanDuc avatar Oct 06 '16 08:10 PhanDuc

Hi, please provide the full output of the error in the console. I am seeing no errors when scraping that page.

screen shot 2016-10-06 at 5 54 38 am

minimaxir avatar Oct 06 '16 12:10 minimaxir

Hi minimaxir, Thanks for quick reply, i know my problem, its on the token key and i solved that.

But if i run script in fb page with so much data, and if token key expired when i still run program, how i can continue run from where program stop ? (I mean, i don't want to run again from begin of the page)

PhanDuc avatar Oct 06 '16 15:10 PhanDuc

That is what happens if you use a token key from tools such as Graph API Explorer. The token key derived from the app_id + app_secret will not expire.

minimaxir avatar Oct 07 '16 13:10 minimaxir

Hi minimaxir,

So if i want to get all message(inbox) from users to me. Can you teach me how to make that ?

Thanks so much !

PhanDuc avatar Oct 08 '16 03:10 PhanDuc