tareq
tareq

Reputation: 1129

Where to set the callback url for realtime subscriptions in a facebook app?

I created a new facebook app. And with the new app structure I can't find where to specify the callback url for the app. I used the old apps and there was a section that asks you to choose how facebook interacts with your website and you just specify the callback url.

Upvotes: 1

Views: 220

Answers (1)

Tobi
Tobi

Reputation: 31479

You are expected to do this via the Graph API now. Have a look at the

POST /{app-id}/subscriptions

endpoint (see https://developers.facebook.com/docs/graph-api/reference/v2.1/app/subscriptions#publish).

The process of using Realtime Updates is described at https://developers.facebook.com/docs/graph-api/real-time-updates/v2.1#subscribing

Upvotes: 1

Related Questions