Nick Young
Nick Young
I've also just pushed a new version (0.2.55) to PyPI, so `pip install -U facebook-scraper` would now do it too
I see - try https://github.com/kevinzg/facebook-scraper/commit/c41e14e1c8271ae82d2e981d64bf8cd21db08a85
Here's the output I get with your test code: ```python 'page_id': '1536864699976440', 'post_id': 524560755699898, 'post_text': '同學、學長、學妹傳來的照片\n' '阿金的書在吉隆坡 IPC, 新山 Mid Valley, 新加坡 Popular 目前都有展示\n' '\n' 'IPC 還是「海景第一排」呢!\n' '和新馬的朋友分享~', 'post_url': 'https://facebook.com/story.php?story_fbid=524560755699898&id=100044379341462',...
When extracting reactors from comments: Local variable referenced before assignment in extractors.py
Duplicate of https://github.com/kevinzg/facebook-scraper/issues/692. Try https://github.com/kevinzg/facebook-scraper/commit/5539ec467223286d952c5af5c19d89a8cffedb17. With this commit, I get: ```python 'comments_full': [{'comment_id': '4909339462421531', 'comment_image': 'https://scontent.xx.fbcdn.net/m1/v/t6/An_UvxJXg9tdnLU3Y5qjPi0200MLilhzPXUgxzGjQzUMaNcmjdZA6anyrngvkdub33NZzZhd51fpCAEzNHFhko5aKRFP5fS1w_lKwYrzcNLupv27.png?ccb=10-5&oh=00_AT_cDuGQGqy6gqS4T3xMB3HjRVPku8yUu0mXEx98VxEWJw&oe=6249FFB9&_nc_sid=55e238', 'comment_reaction_count': 3, 'comment_reactions': {'like': 2, 'wow': 1}, 'comment_reactors': [{'link': 'https://facebook.com/profile.php?id=100009670724353&fref=pb', 'name': 'Mosè Sorbo', 'type':...
It does: ```python pprint(get_page_info("SkyTowerAKL")) ``` outputs: ```python {'about': 'About\n' 'Corner Victoria and Federal Streets, Auckland, New Zealand 1010\n' 'Get Directions\n' 'Rating · 4.5\n' '(2.6K reviews)\n' '304,574 people checked in here\n'...
I see - looks like chambajuice doesn't have an about page. This commit (https://github.com/kevinzg/facebook-scraper/commit/a516dfabff4b5937ef99ea25c84e463473a29e3d) should make `get_page_info` extract the rating, under a new key called `rating`. No need to raise...
This commit (https://github.com/kevinzg/facebook-scraper/commit/e362c522dd500c3c91ffb858c6044fca3d4b4d9a) should make it possible to extract reviews. Sample usage: ```python for review in get_page_info("chambajuice")["reviews"]: pprint(review) ``` outputs: ```python {'post_url': 'https://facebook.com/story.php?story_fbid=844190382691206&id=100013007553035&locale2=en_US&__tn__=%2As%2As', 'profile_picture': 'https://scontent.fakl8-1.fna.fbcdn.net/v/t1.6435-1/cp0/e15/q65/p40x40/176057649_1213006852476222_7349829092521007297_n.jpg?_nc_cat=100&ccb=1-5&_nc_sid=dbb9e7&_nc_ohc=mQwiEkVN55cAX-txl-s&_nc_ht=scontent.fakl8-1.fna&oh=00_AT_dqKC3Yhu2jYV9Pf4HJhJmn0yjOMoobEoajX5k4rpWfg&oe=6216E02B', 'recommends': True, 'text': 'good taste...
The reviews aren't accessible at https://m.facebook.com/pg/atebeyandsell/reviews/ either. This page must have reviews disabled.
The reviews aren't accessible at https://www.facebook.com/atebeyandsell/reviews either
What page are you having this problem with?