dfreelon / fb_scrape_public

Scrapes posts and comments from public Facebook pages.
BSD 3-Clause "New" or "Revised" License
106 stars 52 forks source link

This issues happening while installing #5

Closed hemangpar closed 6 years ago

hemangpar commented 6 years ago

image please help

dfreelon commented 6 years ago

Could you include the entire error message--the end appears to be cut off--and in more readable colors if possible? Thanks

hemangpar commented 6 years ago

Hi @dfreelon Please ignore it. I run cmd with admin privileges and then it installed successfully but now this is coming. I try to run python file but no response, no csv file created,nothing, please help image

dfreelon commented 6 years ago

I strongly suggest you try the sample code at the bottom of the README.md file, as what you've written above won't work. FSP is built to run inside the Python shell, but if you insist on using the command line, you could try something like:

python -c "import fb_scrape_public as fsp; obama_posts = fsp.scrape_fb('YourClientID','YourClientSecret',ids='barackobama')"

hemangpar commented 6 years ago

Thanks a lot Sir. It worked perfectly.