jpryda / facebook-multi-scraper Goto Github PK
View Code? Open in Web Editor NEWMulti-threaded Facebook scraper for social analytics of public and owned pages
Multi-threaded Facebook scraper for social analytics of public and owned pages
OWNED_PAGES_TOKENS = {
'jpryda': os.environ['MY_TOKEN'], # Token as an environmental variable: export MY_TOKEN = 'abc-my-token'
# 'MyPage1': 'my-hardcoded-token' # Hardcoded token
}
this code is raising the following error:
File "C:\Users\Anaconda3\lib\os.py", line 678, in getitem
raise KeyError(key) from None
Hi, having "OverflowError" timeout is too large, do I need to change the timeout?
Thank you very much for your work, I feel like it used to work, but as I enter my User Token in it, I get the response:
{u'message': u'(#100) Pages Public Content Access requires either app secret proof or an app token', u'code': 100, u'type': u'OAuthException', u'fbtrace_id': u'AuwdgxokRLwtt9dVKOsH06x'}
Well, when I plug in the App Token, the response follows:
{u'message': u"(#10) This endpoint requires the 'manage_pages' permission or the 'Page Public Content Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages and https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS for details.", u'code': 10, u'type': u'OAuthException', u'fbtrace_id': u'ARh7FmUS7tq5k9sl2Vh4vU4'}
... which basically means that Facebook does not allow you to scrap posts of public pages you don't own? Really?
Or am I misusing it? If so, can you please help me figure this out? Thank you.
OWNED_PAGES_TOKENS = {
'jpryda': os.environ['MY_TOKEN'], # Token as an environmental variable: export MY_TOKEN = 'abc-my-token'
# 'MyPage1': 'my-hardcoded-token' # Hardcoded token
}
//TO execute do we have to write 'jpryda' in the 2nd line or something else?
As I know, to collect data from public pages you need a app with permission from FB?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.