我遇到了问题,我已按照步骤在我的应用程序中获取Facebook页面的订阅源并且没有显示任何内容。 我做错了什么?
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
GraphRequest request = GraphRequest.newGraphPathRequest(
AccessToken.getCurrentAccessToken(),
"/540165132697003",
new GraphRequest.Callback() {
@Override
public void onCompleted(GraphResponse response) {
// Insert your code here
}
});
Bundle parameters = new Bundle();
parameters.putString("fields", "feed");
request.setParameters(parameters);
request.executeAsync();
}