Nick Young
Nick Young
posts_per_page only works for Pages, not Profiles
What Page are you having this problem with?
I'm unable to reproduce this problem, I get this output for PUMA: ``` callback callback saving post saving post saving post callback saving post saving post saving post saving post...
yeah europeangeorgia.ge uses pagination URLs like https://m.facebook.com/profile/timeline/stream/?cursor=AQHRQpbmplnZYYzl4oihdV7Md5AZCKzUFu4viBygH57HtD3iCsLAarxlby0A8iiXon4ClZjHAb4scuIXTzKkiy8uJU4X-8sJGO1vhoAHyYv_sVqQVE4te0RTSPWQwgjWCT3eEM7mcghMzikfGFRFrU6cpr1kwyv6yoOfj9ZzOw1B1hsdg6V7CK3n80-7zAewj9l_&start_time=-9223372036854775808&profile_id=100044393380868&replace_id=u_0_0_lH\, there's no posts_per_page parameter in that URL, so posts_per_page won't work. Perhaps this Page was converted from a Profile or something. It has...
You would have to keep a counter, and change accounts after some higher number of pages. So if you change accounts every 12 pages, that'd be every 48 posts
 facebook-scraper is reading the number in the top right here, which is 53. Some of the pages Reuters is following must not be public.
>only grabbed 672 of their images How do you know that's not everything? Maybe try use `get_posts` instead of `get_photos`, to iterate through posts in the timelines, and collect images...
See https://github.com/kevinzg/facebook-scraper/blob/master/README.md
This page works fine for me, the code: ```python set_cookies("cookies.json") posts = list(get_posts('Paul-Mark-Supermarket-147867532048848', pages=2, options={"allow_extra_requests": False, "posts_per_page": 100})) print(len(posts)) ``` outputs `101`. Do you get the same result? Try `enable_logging()`...
You should use the `post_urls` argument if you're passing post IDs or URLs. Like so: ```python pprint(next(get_posts(post_urls=[614591682974608], options={"reactors": True, "sharers": True}))) ``` This outputs: ```python {'available': True, 'comments': 2, 'comments_full':...