javascript - Cannot subscribe Page to Facebook App -
when use facebook graph api explorer , send post request
page_id/subscribed_apps?access_token=access_token
all ok, page appears in subscribed pages webhook.
but when use fb node.js api , send request like:
fb.api( /${fbselectedpage}/subscribed_apps, 'post', {"access_token": ${selectedpagetoken}}, function(response) { console.log(response); } );
page not appear in subscribed pages webhook section. same postman. works graph api explorer.
does know solution?
p.s. real subscribe many pages 1 app , webhook events them?
Comments
Post a Comment