Facebook request dialog with custom messages like Branchout
-
08-06-2021 - |
質問
How does Branchout custom their Request Dialog messages? There is no option for this.
The documentation https://developers.facebook.com/docs/reference/dialogs/requests/ doest mention any extra parameters, only app_id, redirect_uri, message ,to , filters , exclude_ids , max_recipients, data, title.
As im a new user, i cant post images.. Here are the links: http://i.imgur.com/37tju.png ,
Im using the following javascript to call the facebook function:
FB.ui({
method : 'apprequests',
message : 'Message itself',
title : 'Title message',
display : 'iframe',
access_token : '(access_token)',
to : uids
}, function(response) {
if (response)
{
// handle callback.....
// (...)
}
});
解決
There are some APIs with special privileges. You have to get a way of get in touch with Facebook. I don't know any docs for it.
他のヒント
there is no need to have special partnership to do such a thing.
Please check Is it possible to customize the apprequest notification message similar to BranchOut?