alexst07 / fbcomments

Simple script for downloading all facebook comments and their answers.
MIT License
3 stars 2 forks source link

The code is not working for me. Kindly fix it for me. #2

Open visheshaylani opened 4 years ago

visheshaylani commented 4 years ago

It is giving an error "KeyError: 'data'". I research about this on google, but don't get any proper guidance there. The complete output I have received is: Traceback (most recent call last): File "fbcomments.py", line 130, in main() File "fbcomments.py", line 124, in main res = list_comments(obj_id) File "fbcomments.py", line 56, in list_comments data = comments_request(id) File "fbcomments.py", line 37, in comments_request data = json_content["data"] KeyError: 'data' Kindly help me on this error.

Thank you.