I have installed facebook-sdk using below mentioned command:
pip install facebook-sdk
But while importing it, I am facing an issue:
import facebook
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python33\lib\site-packages\facebook.py", line 222
except urllib2.HTTPError, e:
^
SyntaxError: invalid syntax
How can I fix this?