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

facepager: Can't find my access token #62

Closed aritra1994 closed 7 years ago

aritra1994 commented 7 years ago

I am a new user of facepager and I wanted to crawl public data from facebook for my thesis work. But I cant fetch data because of missing access token. I have tried "login to Facebook" button. It shows Success but my access token bar is still empty. How ca I get my access token??

strohne commented 7 years ago

The login-button is the way to go; acces token field should be filled with stars or points (like password fields on websites). Which version of Facepager / which OS do you use?

aritra1994 commented 7 years ago

I am using win-10 and the version is 3.5. I have also tried 3.6 but facing same problem.

aritra1994 commented 7 years ago

Here is the screen shot capture

strohne commented 7 years ago

Both versions are outdated. Please switch to newest version 3.8.2 (see releases page)

aritra1994 commented 7 years ago

Still nothing happened.

aritra1994 commented 7 years ago

capture

aritra1994 commented 7 years ago

capture2

strohne commented 7 years ago

Well, actually I have no idea. Could you please look into the Facepager-Folder below your users-folder (e.g. C:\Users\<yourusername>\Facepager) ... are there any log-files?

BTW: change version in basepath to at least v2.3 (v2.2 is depricated by now, I forgot to update the default setting).

aritra1994 commented 7 years ago

Yes there is a log file. And I have changed the default graph api version. Is it possible to extract data from my friends wall by facepager ?

strohne commented 7 years ago

Then it works now? What is in the log file?

Regarding data from friends wall: yes (in principle) and no (not easy). You need to setup your own Facebook App and use this with Facepager. Your friend needs to approve the app. See https://developers.facebook.com/docs/graph-api/reference/v2.9/user/feed

aritra1994 commented 7 years ago

yes its working now. Thanks a lot. How to connect my Facebook app with Facepager? Can you provide me any doc in this regard?

strohne commented 7 years ago

Great.

You need to enter the client id into the field on the Facebook tab and then login.

See https://github.com/strohne/Facepager/blob/master/src/credentials.py.readme for how to get the client id.

dkxmen commented 3 years ago

Hi, so do you delete the log file or what do you do?

This is what is in the log file: " 2021-01-12 20:50:20,387 ERROR:Access key or secret key is missing, please fill the input fields! NoneType: None 2021-01-12 20:50:21,678 ERROR:Access key or secret key is missing, please fill the input fields! NoneType: None 2021-01-12 20:50:22,328 ERROR:Access key or secret key is missing, please fill the input fields! NoneType: None "

strohne commented 3 years ago

Hi @dkxmen , I don't see how this is related to developing Facepager? If you have questions with regard to using Facepager, please try out the Facepager user group on Facebook :)