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

Can't fetch likes anymore #69

Closed welterrr closed 7 years ago

welterrr commented 7 years ago

Hi, i need help :) I dont know why but i just can not fetch the likes_count, talking_about_count or any other infos of a fanpage. The only things i can fetch are the name, the id and the pages liked by the page.

Do you know what's going on, are you facing similar problems or do you know what I am doing wrong? A few months ago it was working great :(

Thanks for your help

bildschirmfoto 2017-08-24 um 22 46 05
strohne commented 7 years ago

There have been some API upgrades by Facebook. API version 2.3 is no longer supported and automatically redirected to some higher version. Facebook now only provides limited fields by default, see https://developers.facebook.com/docs/graph-api/using-graph-api#fields

Change the version in the base path to v2.10 and use the fields-parameter (left side) to specify the data you want (right side, comma delimited). The available fields are listed in the Facebook Graph API reference, e.g. https://developers.facebook.com/docs/graph-api/reference/page/

BTW: you are using the latest developer version which has not been released yet. This is fine but most of the presets are not updated yet. If you like you can support us by creating some basic presets and sending them to me.

welterrr commented 7 years ago

Thank you for responding so fast. It's working now.

mithils commented 7 years ago

What would I change the Resource and parameters boxes to if I would like to pull my own Facebook data such as posts? ([https://developers.facebook.com/docs/graph-api/reference/v2.10/post/])

Note: I'm still on Facepager 3.7 as I have a Mac

strohne commented 7 years ago

See the help (add "me" as node). And pls don't use existing issues for new questions.