Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Page Public Content Access #121

Open
sandro-ts opened this issue Jul 16, 2018 · 10 comments
Open

Page Public Content Access #121

sandro-ts opened this issue Jul 16, 2018 · 10 comments

Comments

@sandro-ts
Copy link

First of all,

I'd like to say huge thank you for posting this code, it's been very helpful to download the posts and comments from certain pages I'm making a study about.

Recently facebook started giving out HTTP 400 errors, since the token doesn't include the detail "Page Public Content Access" that would make this code work.

What is the solution, how did you guys get that permission?

Thanks

@zhaohangbo
Copy link

same question @juander

@zhaohangbo
Copy link

image

@zhaohangbo
Copy link

to solve the issue, do like this.
image

@sandro-ts
Copy link
Author

@zhaohangbo Could you elaborate? This is what I'm seeing

screenshot at jul 17 19-11-14

@semmet95
Copy link

I'm only scraping post text and images from a public page. When I submit the app for review adding the Page Public Content Access permission I get the response that my app doesn't need this permission and it's not enabled. The app worked for a few days but now I'm getting the 400 error again and opening the url on browser I can see the response which says that i need to get the Page Public Content Access permission.

@semmet95
Copy link

@juander As mentioned I your screenshot, you need to fill in some details about your app before you can submit the app for review.

@noahmanion
Copy link

I had the same error when trying the API call through FB's API explorer, which defaults to the most recent API version. When setting the API version in the explorer to 2.9 (the version in the script), the call worked just fine. I noticed that when removing the since & until params (and their references in the code), I was able to run the script just fine.

@sandro-ts
Copy link
Author

@noahmanion Thanks for the update, I'm not seeing v2.9 in the explorer though, only v3.0 and upwards.

@rgdagir
Copy link

rgdagir commented Nov 7, 2018

I'm developing an internal tool for a side project. Is there any way of going around this problem without applying for the permission? Such a bureaucratic process.

@shoeb240
Copy link

shoeb240 commented Sep 5, 2019

If your app need access token for a page that has same admin as the app then you can get it using manage_pages permission, otherwise (for pages has different admins) you need "Page Public Content Access" permission.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants