strohne / Facepager

Facepager was made for fetching public available data from YouTube, Twitter and other websites on the basis of APIs and webscraping.
https://github.com/strohne/Facepager/releases
506 stars 198 forks source link

It cannot get comments "from" "name" and "id" #81

Closed elvisfong closed 6 years ago

elvisfong commented 6 years ago

I would like to check, does that is facebook error or updated the API, it can get all comments and times, but when it expand to get the name and id, it will result in null. Does that is problem of Graph API update or something wrong?

strohne commented 6 years ago

Seems due to an API "upgrade": you only can access fields containing user data if it is on your own page. I don't like this feature :(

Quoting from https://developers.facebook.com/docs/graph-api/reference/v2.10/comment

Starting on February 5th, 2018, for any comments or replies owned by (on) a Page, you must use a Page access token if you want User information to be included in the response.

See the section "Page-owned Comments and Replies" on https://developers.facebook.com/docs/graph-api/reference/v2.1"/comment

Information about page access tokens can be found under https://developers.facebook.com/docs/pages/access-tokens#page-access-tokens

elvisfong commented 6 years ago

HI, Thanks for your reply, if so, does any solution can resolve that?

Regards, Elvis

On Sat, Feb 10, 2018 at 7:48 AM, strohne notifications@github.com wrote:

Seems to be due to an API "upgrade": you only can access fields containing user data if it is on your own page. I don't like this feature :(

Quoting from https://developers.facebook.com/docs/graph-api/reference/ v2.10/comment

Starting on February 5th, 2018, for any comments or replies owned by (on) a Page, you must use a Page access token if you want User information to be included in the response.

See the section "page owned comments" on https://developers.facebook. com/docs/graph-api/reference/v2.10/comment

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/strohne/Facepager/issues/81#issuecomment-364602002, or mute the thread https://github.com/notifications/unsubscribe-auth/Aikln6PUuK4kPhu4GCSo_EOcrtO8NJqjks5tTNlUgaJpZM4R9sCf .

strohne commented 6 years ago

At the moment I don't know any workaround, sorry.

elvisfong commented 6 years ago

But I have right of the page, I am the page owner, how can I get connect with the permission?

Regards, Elvis

On Sat, Feb 10, 2018 at 8:45 AM, strohne notifications@github.com wrote:

Closed #81 https://github.com/strohne/Facepager/issues/81.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/strohne/Facepager/issues/81#event-1467785361, or mute the thread https://github.com/notifications/unsubscribe-auth/Aikln1vkPrfmuNOvxhpxQf3zO5-fMXDIks5tTOaTgaJpZM4R9sCf .

strohne commented 6 years ago

Pls see the Facepager User Group on Facebook, the issue was discussed there recently.

  1. Visit https://developers.facebook.com/tools/explorer/?hc_location=ufi
  2. On the right side, click on Get Token, then Get Page Access Token
  3. Copy the token into to Access Token field of Facepager.

Am 9. Februar 2018 20:29:04 PST schrieb elvisfong notifications@github.com:

But I have right of the page, I am the page owner, how can I get connect with the permission?

Regards, Elvis

On Sat, Feb 10, 2018 at 8:45 AM, strohne notifications@github.com wrote:

Closed #81 https://github.com/strohne/Facepager/issues/81.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/strohne/Facepager/issues/81#event-1467785361, or mute the thread

https://github.com/notifications/unsubscribe-auth/Aikln1vkPrfmuNOvxhpxQf3zO5-fMXDIks5tTOaTgaJpZM4R9sCf .

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/strohne/Facepager/issues/81#issuecomment-364625225

-- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.