Webhook for lead retrival: can use multiple callbacks for single app?

Digital Marketing Facebook Marketing API 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating
_x000D_ _x000D_ I have an app with leads_retrieval permission approved and I'm currently using bulk read to download leads from Facebook. To avoid new rate limits, coming with v4.0, I'd like to switch to Webhooks mode, but we have one Facebook app configured in many accounts of our products and we need callbacks to be different from one customer to another. From what I see in my dev dashboard, it's only possibile to configure one callback...but in the documentation, the subscription endpoint include a callback_url parameter: POST /v4.0/{app-id}/subscriptions HTTP/1.1 Host: graph.facebook.com object=page&callback_url=http%3A%2F%2Fexample.com%2Fcallback%2F&fields=about%2C+picture&include_values=true&verify_token=thisisaverifystring Shouldn't be the callback implicit in the access_token? So, I'm wondering if this callback_url parameter use to subscribe the single page, could be different from the global one, configured in the developer dashboard... Thanks for any suggestion.

Posted on 16 Aug 2022, this text provides information on Facebook Marketing API related to Digital Marketing. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago
_x000D_ No, that is not possible. You can provide different URLs for different subscription types, but you can not specify different ones based on which account the data change occurs for. If you need an individual callback URL for the same type of webhook for each customer - then you would need an individual app per customer to begin with.

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.