2015年8月19日 星期三

facebook graph api use new request to avoid strange problem

Bundle parameters = new Bundle();parameters.putString("fields", "id,name");GraphRequest request = new GraphRequest(AccessToken.getCurrentAccessToken(), "me/accounts", parameters, null, new GraphRequest.Callback() {
    @Override    public void onCompleted(GraphResponse graphResponse) {

    }
});