如何在Facebook android App上打开特定帖子?

时间:2014-02-10 16:44:25

标签: android json facebook facebook-android-sdk

我使用此网络服务从Facebook页面获取JSON新闻源:

https://www.facebook.com/feeds/page.php?format=json&id=20531316728

它将发送这样的新闻源对象:

{
    title: " Take a look back on some of your most celebrated moments over the years.",
    id: "b6db41d28d5f1e96990c116d24f45cf1",
    alternate: "http://www.facebook.com/facebook/posts/959895899447",
    categories: [ ],
    published: "2014-02-05T08:00:00+00:00",
    updated: "2014-02-05T08:00:00+00:00",
    author: {
        name: "Facebook"
    },
    verb: "",
    target: "",
    objects: "",
    comments: "",
    likes: "",
    content: "Take a look back on some of your most celebrated moments over the years.<br/><br/><a href="http://www.facebook.com/lookback" id="" title="" target="" onclick="" style=""><img class="img" src="https://fbexternal-a.akamaihd.net/safe_image.php?d=AQBj1UxM999Q3X1f&amp;w=154&amp;h=154&amp;url=fbstaging%3A%2F%2Fgraph.facebook.com%2Fstaging_resources%2FMDExMDE1MjUxMzgxODI3MTcyOToxNjcyNTI2ODcy" alt="" /></a><br/><a href="http://www.facebook.com/lookback" id="" target="_blank" style="">A look back</a><br/>www.facebook.com/lookback<br/> "
},

我想要的是在Facebook Android应用上打开这个特定的帖子。在StackOverflow中的某个地方,我看到可以使用Android intent中的以下格式打开此帖子:

fb://post/{postid}?owner={uid}

我用fb和facebook尝试了两种格式。但这并未打开Android应用上的特定帖子。有时这会引导我进入我的新闻源,有时会显示没有发布错误。

我只想知道是否有办法在Facebook Android应用中打开特定页面。

0 个答案:

没有答案