开发者

check if user share on facebook application

开发者 https://www.devze.com 2023-02-28 02:49 出处:网络
is it possible in an iframe applications check if the user share something successfully. may i get the request id if it is successfully shared so if it is shared i want to make the share button\'s vis

is it possible in an iframe applications check if the user share something successfully. may i get the request id if it is successfully shared so if it is shared i want to make the share button's visible false to that user and the user earns s开发者_运维百科ome points if the share is successfull

so is it possible to know and check it?

i am using c# but it is ok for javascript code

thanks


using the Javascript SDK you should be able to get that information.

FB.ui({
    method: 'apprequests',
    message: 'Your message here',
    title: 'App Request',
},
function (response) {
    if (response) {
        var numberSelected = response.to.length;
        var firstIdSelected = response.to[0];
    } else {
        alert('canceled');
    }
});
0

精彩评论

暂无评论...
验证码 换一张
取 消