forked from kevinzg/facebook-scraper
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I was testing a slightly modified version of the example usage code:
ACCOUNT = "NintendoAmerica"
for post in get_posts(account = ACCOUNT,
base_url = "https://mbasic.facebook.com/",
start_url = "https://mbasic.facebook.com/" + ACCOUNT + "?v=timeline",
cookies = WHICHCOOKIE,
pages = 2,
options = {"progress": True,
"reactions": False,
"posts_per_page": 10}
):
print(f"Username: {post['username']}, Post ID: {post['post_id']}, Text: {post['text'][:50]}")
Currently on the first page of the timeline for NintendoAmerica, there are 5 posts, one of which is a video post. On the first page I get back the results:
Username: Nintendo of America, Post ID: 890016689820601, Text: The Play Nintendo Tour has been bringing smiles to
Username: Nintendo of America, Post ID: 888815453274058, Text: Summer vibes ✨
Username: Nintendo of America, Post ID: 881993580622912, Text: Enter the My Nintendo Shovel Knight: Decade of Dig
Username: Nintendo of America, Post ID: 880587947430142, Text: Hope your summer adventures are treating you well!
On the second page, 2 of the posts are video posts, and I only get back 8 posts:
Username: Nintendo of America, Post ID: 880007910821479, Text: Paper Mario: The Thousand-Year Door opened up on N
Username: Nintendo of America, Post ID: 878235557665381, Text: Show off your championship spirit in style!
Inspi
Username: Nintendo of America, Post ID: 877710784384525, Text: These fireworks sure are Boo-tiful!
Username: Nintendo of America, Post ID: 877608557728081, Text: Not all of Luigi's vacations are spooky. Some are
Username: Nintendo of America, Post ID: 869561508532786, Text: There's still time to enter for a chance to win th
Username: Nintendo of America, Post ID: 865191572303113, Text: Redeem your My Nintendo Platinum Points to kick of
Username: Nintendo of America, Post ID: 863186765836927, Text: Enter for a chance to win a prize package of goodi
Username: Nintendo of America, Post ID: 862669605888643, Text: Nintendo of America updated their cover photo.
I also tried seeing if using the whitelist_methods option to see if that might help: "whitelist_methods": ['extract_username', 'extract_post_id', 'extract_text', 'extract_video'], but no cigar, just the same 4 posts and none of them are the video post.
Has anyone else encountered this issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels