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

Collecting data from Facebook groups: Errors 400 and "Exception: global name 'sleep' is not defined" #52

Closed phoebechua closed 7 years ago

phoebechua commented 7 years ago

Hello,

I'm currently trying to use Facepager to collect data from a Facebook group.

Let's say that the Facebook URL is https://www.facebook.com/groups/1420997938186432/.

I wasn't sure how I should've input the node, and so I tried doing that in two ways.

(1) When I used the node: groups/1420997938186432/, I received the error (400). (2) When I used the node: 1420997938186432/, I received the error: "Exception: global name 'sleep' is not defined."

How can I go about extracting information from Facebook groups? Am I incorrectly setting up the variables in Facepager? Here's the link to the screenshot of my settings in Facepager: https://drive.google.com/file/d/0BzGweDhxb-SjaE90RUNzX0FhNkE/view?usp=sharing

Thanks in advance for your kind assistance.

Best, Phoebe

strohne commented 7 years ago

Just a quick note regarding

"Exception: global name 'sleep' is not defined."

This is a bug in Facepager, just hit the Fetch data-button again. Does it work?

(Nodes should be inserted without slashes or url parts, just the ID, your screenshot looks ok.)

phoebechua commented 7 years ago

Thanks for your quick response!

Your suggestion worked. I'm now trying to extract data from a closed Facebook group that I have access to (I've joined the group.) The group ID is 351783714851597 and the URL is https://www.facebook.com/groups/351783714851597/.

The following is a screenshot of my interface of Facepager: image

and this is the resulting collected data: image

I'm unfortunately unable to correctly collect the data. Is it because my node level and parallel thread is incorrect (I'm not sure what the appropriate setting is to begin with.)?

Thank you again for your help!

Best, Phoebe

strohne commented 7 years ago

That should work, settings are ok (see Help-button for further information).

Did you expand the node by clicking on the symbol left between the starting node?

And are you able to collect 'profile' information about the group (remove "/feed" from the resource field)?

Gemmahhh commented 2 years ago

Hi. Please how did you get the access token. I've tried getting data from Facebook but it keeps giving me 'error 400'

strohne commented 2 years ago

Collecting data from groups is not possible anymore with the preregistered Facebook-API-access. If you have further questions regarding how to use Facepager, please ask in the Facebook User Group. (GitHub is the place for development issues). :)