Closed naught101 closed 6 years ago
It should work for public groups. The app method definitely won't scrape non-public groups, and if it doesn't work with a user token, it's possible the Graph API simply doesn't support those actions at all. I would try seeing if other Facebook scraping programs work, or maybe running your commands through the Graph Explorer: https://developers.facebook.com/tools/explorer/ At least then you'd know whether the problem is with my program or the API.
Looks like my access token was wrong somehow... Working with a new one. Sorry for the hassle, and thanks for the quick response :)
I'm trying to scrape old posts from a group I'm in, and everything I've tried fails with 403. As far as I can tell, I'm using the correct tokens. I've tried with clientID/clientSecret, and with access tokens (both for the app I created, and for my user. I've also tried with
scrape_mode='posts'
and with the default. The response always looks like this:Any ideas? The
barackobama
example DOES work, so I guess this is something specific to groups, and possibly just to groups with a numeric ID?