facebook-scraper: reactors no longer being returned

Just today, reactors stopped being returned for me. The following program exhibits the problem.

from facebook_scraper import get_posts, set_user_agent
from pprint import pprint
import sys

cookie_file = 'facebook_cookies.txt'

set_user_agent("Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)")

post_ids = sys.argv[1 : ]

for post_id in post_ids:
    post = next(get_posts(post_urls=[post_id], cookies=cookie_file,
                          options={'allow_extra_requests': False, 'reactors': True}))
    pprint(post)

When I invoke this as

python reactors.py 10158741881073601

the reactors field returned is None, although there are actually reactors to the post. It was working until today.

About this issue

Most upvoted comments

Yes! It works great now. Thank you so much!

Yes, works great! Thank you!