Facebook Comments PPR avatar
Facebook Comments PPR

Pricing

$0.50 / 1,000 comments

Go to Store
Facebook Comments PPR

Facebook Comments PPR

Developed by

Jan Danecki

Jan Danecki

Maintained by Community

Scrap Facebook comments fast and easy. It is designed to be fast and efficient, so it can extract a large number of comments for low price. It is also less likely to be blocked by Facebook.

1.0 (1)

Pricing

$0.50 / 1,000 comments

7

Total users

254

Monthly users

59

Runs succeeded

>99%

Issue response

5 days

Last modified

3 months ago

andryerica avatar

Key " Maximum charged results "

Closed

Åndry RL (andryerica) opened this issue
3 months ago

how to specify the number of comments to scrape please? i use python but i can't find this key

danek avatar

you can use Maximum charged results in apify run settings

andryerica avatar

but how do I put it in this code? In the key run_input

from apify_client import ApifyClient
# Initialize the ApifyClient with your API token
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = { "post_id": "pfbid02BzYRNmoznsZjci5FuztPUb9mKd9ameNVYSBweaBEvb8oEzSMjcs8nbXnMkYA5Benl" }
# Run the Actor and wait for it to finish
run = client.actor("dZoIFO1qTxGTq99uR").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
danek avatar

yea, I see that apify documentation is not perfect... I added max_comments parameter, so you can use it as run_input