jpryda / facebook-multi-scraper

Multi-threaded Facebook scraper for social analytics of public and owned pages
79 stars 26 forks source link

DOUBT ! What must be done here ? #2

Open Harithadxb opened 5 years ago

Harithadxb commented 5 years ago

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

beeyatch commented 5 years ago

Did you managed to get it working? Cheers