minimaxir/facebook-page-post-scraper

Error in line 232 and 121

AusUser5 opened this issue · 0 comments

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'