FB Access Token Generator API
Can be used to get generate access tokens from facebook to use them in FB Data Scraper. It makes use of Selenium and PhantonJS to emulate browser and extract the access tokens.
Setup & Execution
- One time manual authorization to the
Graph API Explorer
app on fb by visiting the linkGraph API Explorer
and then clicking onGet Token
>Get User Access Token
>Get Access Token
>Continue as
Name
. Video Instructions git clone https://github.com/scottydelta/fb_token_generator.git
cd fb_token_generator
- install
Selenium
usingpip
- install
PhantomJS
(on Mac, you can install usinghomebrew
) - run the script using command
python generate_token.py
username
password