Is it possible to customize the apprequest notification message similar to BranchOut?

。_饼干妹妹 提交于 2019-12-04 10:31:11

No it is not possible even with new_style_apprequest parameter in FB.ui options. This used to work earlier but it has stopped working lately. It was anyways an undocumented feature. This is my guess that you might require special permissions from Facebook to be able to achieve this.

Enrico Foschi

it's definitely possible, using the parameter new_style_message set to true - you can double check this by reverse engineering their Javascript API library.

This is a sample code

FB.ui({
    display: 'iframe',
    method: 'apprequests',
    new_style_message: true,
    title: "Join my network",
    message: "would like you to join his network",
    to: [list of user ids to invite]
});
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!