facebook-scraper icon indicating copy to clipboard operation
facebook-scraper copied to clipboard

Get_posts() reactions starts to return '0' after specific amount of requests.

Open egetekiner opened this issue 2 years ago • 3 comments

Hello everyone,

I am using the following code part;

main_df = pd.DataFrame(columns = ['index_number','post_id','timestamp','likes','reactions','reaction_count','comments','shares'] )

for post in get_posts('PAGENAME', cookies='./cookies.txt',timeout = 10, pages=10, options={'allow_extra_requests': False, "reactors": True}):

When I first start, it gives me the reaction numbers and reaction count without any problem however, after 50-60 posts, it starts to return 0 for all of them.

Is there any solution for that problem?


0	0	768583197959511	2023-02-22 14:16:08	None	{'beğen': 3639, 'muhteşem': 399, 'yanındayım':...	4075	168	196
1	1	768539287963902	2023-02-22 12:39:32	None	{'beğen': 1330, 'muhteşem': 53, 'hahaha': 1, '...	1396	59	72
2	2	768303611320803	2023-02-22 05:30:52	None	{'beğen': 4580, 'muhteşem': 126, 'hahaha': 3, ...	4753	299	500
3	3	768229454661552	2023-02-22 02:52:28	None	{'beğen': 6554, 'muhteşem': 131, 'hahaha': 1, ...	6723	560	443
4	4	767572114727286	2023-02-21 02:12:59	None	{'beğen': 5176, 'muhteşem': 497, 'hahaha': 1, ...	5739	323	562
...	...	...	...	...	...	...	...	...
74	74	752064632944701	2023-01-29 02:55:08	0	None	0	0	0
75	75	751626766321821	2023-01-28 11:01:43	0	None	0	0	0
76	76	2043921425813015	2023-01-28 08:00:53	0	None	0	0	0
77	77	1265766694005864	2023-01-28 06:08:15	0	None	0	0	0
78	78	1138254056853925	2023-01-28 03:58:48	0	None	0	0	0

egetekiner avatar Feb 22 '23 21:02 egetekiner

Hello man! Sorry to bother you, but please can you show me your cookies.txt file? Im having problems with that

LChito avatar Feb 22 '23 22:02 LChito

II have the same problem because the cookies do not work correctly.

aymen-ch avatar Feb 23 '23 15:02 aymen-ch

I cannot send you my cookies due to security reasons however they problem was about the language of my facebook account. I changed in to English and it starts working however I still have issues with getting specific reactions. It sometimes gets the reactions sometimes not.

On Thu, Feb 23, 2023 at 10:58 AM aymen-ch @.***> wrote:

II have the same problem because the cookies do not work correctly.

— Reply to this email directly, view it on GitHub https://github.com/kevinzg/facebook-scraper/issues/978#issuecomment-1442027833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7KVPGWVPHOXXWGG2T7HY3WY6CLFANCNFSM6AAAAAAVE2HZL4 . You are receiving this because you authored the thread.Message ID: @.***>

--

With My Best Regards Ege Tekiner

CTO - Vinzini Blockchain Development Platform Blockchain Architect, Developer & Instructor

NT Connect Holdings, Inc. | One Financial Plaza, 10th Floor, Fort Lauderdale, FL 33394

(C) 954.655.7453

GSM: +1 (305) 877 14 99 e-mail (Professional): @.*** e-mail (University): @.*** @.> e-mail: @.

egetekiner avatar Feb 23 '23 17:02 egetekiner