时间:2011-01-06 18:22:02

标签: android android-manifest

1 个答案:

答案 0 :(得分:2)

您是否在活动代码中添加了对authorizeCallback()的调用?您需要将其放在活动的onActivityResult方法中。

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
  super.onActivityResult(requestCode, resultCode, data);
  facebook.authorizeCallback(requestCode, resultCode, data);
  // ... anything else your app does onActivityResult ...
}