hhsm95 / FacebookPostsScraper

Scraper for posts in Facebook user profiles, pages and groups
MIT License
140 stars 55 forks source link

error in Fps Function. #15

Open sufyanhamid opened 3 years ago

sufyanhamid commented 3 years ago

@adeoy Hi there.!! Can you please resolve this issue: When ever I try to run the code it gives me this error:

TypeError Traceback (most recent call last)

in 6 7 # Instantiate an object ----> 8 fps = Fps(email, password, post_url_text='Full Story') 9 10 # Example with single profile TypeError: 'module' object is not callable Although I provided the right login details. Hope you will consider this and fix it. Thanks in advance :)
BeatWolf commented 3 years ago

if you git clone the repo you need to either create your script in the same folder or if you, like i did, create the script one folder above the cloned code, you need to:

from FacebookPostsScraper.FacebookPostsScraper import FacebookPostsScraper as Fps