RaghavSood / FBMessageScraper

A python script to download facebook chats
188 stars 42 forks source link

Invalid Syntax? #7

Open crzQag opened 8 years ago

crzQag commented 8 years ago

I followed all your instructions until the command step, I tried: python group_dump 898670953505094 10 and it printed out this error:

_print "Usage:\n     python dumper.py [conversation ID] [chunk_size (recommended: 2000)] [{optional} offset location (default: 0)]"
                                              ^

SyntaxError: invalid syntax_

Any suggestion? Thanks

j6k4m8 commented 8 years ago

My suspicion is that this is a python 2/3 issue — are you running with Python 2? (If not, there will be a few changes you have to make.)

crzQag commented 8 years ago

Can u be more specific cause I'm using Python 3? It'll be very helpful if u told me what are they :))

j6k4m8 commented 8 years ago

This is precisely the issue you'd see if you tried a print without parentheses in Python 3 (which works in Python 2). (print "blah" becomes print("blah").

See here for more information.