实际上,我正在访问我喜欢的 25 个页面的列表(在我的整个 facebook 访问持续时间中)
String graphPath = "me"
Bundle bun = new Bundle();
bun.putString("fields", "music.fields(name,videos.fields(name))");
mAsyncRunner.request(graphPath, bun, "GET", object, null);
我从那里收到了我在 listView 中显示的数据,还有一个 JsonObject(分页)与:
https://graph.facebook.com/100002420343415/music?fields=name,videos.fields%28name%29&access_token=CAAGjblaPDxoBAMH5FZBhdbJoJNALA0IiRGBgxLlWxlLixxTtxMUPVeo0AMkM1ZAFLZAOT7urdd1HeP1LQPJVsTSM9LDcnRUyABjSAxOHuljzRwkcbTHsPDloeA9CmZBMNPywubLPdz7PDrqaT3AC7MVxNHYLJh5tVhKI8tlAaZBoIWGGMhNKF&limit=25&offset=25&__after_id=219447808080269
收到这个后,我想访问limit=25&offset=25&__after_id=219447808080269
我正在使用的那些页面
Bundle bun = new Bundle();
bun.putString("fields", "music.fields(name,videos.fields(name))");
bun.putString("limit","25");
bun.putString("offset","25");
bun.putString("__after_id","219447808080269");
mAsyncRunner.request(graphPath, bun, "GET", object, null);
执行此操作后,我得到相同的数据1st 25 Search
,我也尝试过,
Bundle bun = new Bundle();
bun.putString("fields", "music.fields(name,videos.fields(name)&limit=5000&offset=5000&__after_id=206483212727507)");
但我在这里发现我必须改变路径graphPath
所以我把它设置graphpath
为me/music
谢谢,图沙尔。