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

问题描述

我正在询问是否可以获得没有验证令牌的公共壁挂资讯?
如果我没有登录到Facebook,我仍然可以看到公开的帖子,这是一个很好的例子:
我使用的是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/adeleI'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!

推荐答案

您可以转到:

例如:耐克Facebook页面 -

要查找页面的APP_ID,请转到,并在输出中找到它。
例如: - 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"

更多信息:

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

08-06 10:35