共享对话框,提要对话框和share_open_graph之间的区别

时间:2019-06-25 09:59:10

标签: facebook-graph-api

我有一个项目,需要用户通过应用程序共享内容。

在那之后,我将需要跟踪每天有多少股票。

现在,我可以使用以下三种不同的功能共享链接:

    FB.ui({
        method: 'share',
        href: 'https://developers.facebook.com/docs/',
        hashtag: '#myhash',
    }, function(response){console.log(response)});


    FB.ui({
        method: 'share_open_graph',
        action_type: 'og.likes',
        action_properties: JSON.stringify({
            object:'https://developers.facebook.com/docs/javascript/examples',
        })
    }, function(response){
        // Debug response (optional)
        console.log(response);
    });


    FB.ui({
        method: 'feed',
        link: 'https://developers.facebook.com/docs/',
        ref: 'ref1, ref2'
    }, function(response){console.log(response)});

我能看到的唯一区别是,使用共享我可以添加井号和提要对话框,我可以添加引用。从视觉上看,它们在Feed上看起来都是一样的...

假设以后我要搜索和分析共享的内容,这些方法是否比其他方法更有利? (例如,不同的主题标签和/或不同的来源(如移动/网络))?

0 个答案:

没有答案
相关问题