You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Realtime updates doesn't have a method to subscribe an app to pages managed by that app. After going over the Fb Webhook Documentation is looks like its not only possible but fairly simple.
Heres what the request needs.
PAGE_ID
PAGE_TOKEN
all you need to do is make POST request to /page_id/subscribed_apps using the page token your app was assigned for that page. Fb returns {"success":true} and you are now subscribed.
currently realtime updates isn't set up to take a page id.
Realtime updates doesn't have a method to subscribe an app to pages managed by that app. After going over the Fb Webhook Documentation is looks like its not only possible but fairly simple.
Heres what the request needs.
PAGE_ID
PAGE_TOKEN
all you need to do is make POST request to /page_id/subscribed_apps using the page token your app was assigned for that page. Fb returns {"success":true} and you are now subscribed.
currently realtime updates isn't set up to take a page id.
@updates = Koala::Facebook::RealtimeUpdates.new(:app_id => YOUR_APP_ID, :secret => YOUR_APP_SECRET)
or
@updates = Koala::Facebook::RealtimeUpdates.new(:app_id => YOUR_APP_ID, :app_access_token => YOUR_ACCESS_TOKEN)
If realtime updates could be changed to include this functionality that would be great.
The text was updated successfully, but these errors were encountered: