在没有登录的情况下可以获得公开的Facebook墙纸吗? [英] is it possible to get the public facebook wall feeds when not logged in?

查看:220
本文介绍了在没有登录的情况下可以获得公开的Facebook墙纸吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在询问是否可以获得没有验证令牌的公共壁挂资讯?
如果我没有登录到Facebook,我仍然可以看到公开的帖子,这是一个很好的例子: http://www.facebook.com/adele
我使用的是facebook图形API,如下所示:

I'm accually asking is it possible to get public wall feeds without auth token? If I'm not logged in to facebook, I can still see the public posts ,this is a good example : http://www.facebook.com/adele I'm using facebook graph API like this:

uri ="https://graph.facebook.com/" + this.getString(R.string.wall_id) + "/feed?access_token="+Utility.mFacebook.getAccessToken();

JSONObject json = GetJSON.fromURL(uri);

如果我连接到FB,我可以成功获取Feed。

If I'm connected to FB I'm successfully get the feeds. Do I need to ask for a new token when I'm offline?

thanx!

推荐答案

您可以转到:
http://www.facebook.com/feeds/page.php?id= [APP_ID]& format = json
例如:耐克Facebook页面 - http://www.facebook.com/feeds/page.php?id=15087023444&格式= json

要查找页面的APP_ID,请转到 https://graph.facebook.com/ [page_name] ,并在输出中找到它。
例如: https://graph.facebook.com/nike - id: 15087023444

To find out the APP_ID for a page go to https://graph.facebook.com/[page_name] and in the output you will find it. e.g.: https://graph.facebook.com/nike - "id": "15087023444"

更多信息: http://costimuraru.wordpress.com/2011/12/16/facebook-how-to-find-out-a-fan-page-id /

这篇关于在没有登录的情况下可以获得公开的Facebook墙纸吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆