minimaxir / facebook-page-post-scraper

Data scraper for Facebook Pages, and also code accompanying the blog post How to Scrape Data From Facebook Page Posts for Statistical Analysis
2.12k stars 663 forks source link

Error in line 232 and 121 #95

Open AusUser5 opened 6 years ago

AusUser5 commented 6 years ago

Hi there, this is the first time i've tried this, I get the following error after following your instructions

C:\Users\test\Documents\scraper>python get_fb_comments_from_fb.py Traceback (most recent call last): File "get_fb_comments_from_fb.py", line 232, in scrapeFacebookPageFeedComments(file_id, access_token) File "get_fb_comments_from_fb.py", line 121, in scrapeFacebookPageFeedComments with open('{}_facebook_comments.csv'.format(file_id), 'w') as file: IOError: [Errno 22] invalid mode ('w') or filename: 'https://www.facebook.com/coinspotau/_facebook_comments.csv'