0
사용자가 내 Android 앱에서 FB 벽에 상태를 게시 할 수있게하려고합니다. 나는 사생활/청중에 문제가 있습니다. 게시물은 항상 "Only Me"로 설정되어 있기 때문에 이것을 "Friends"로 설정하고 싶습니다. 그러나 이것을 수행 할 수있는 방법을 찾을 수 없습니다. 아래는 내가이 달성하고있어 어떻게 내 코드는 다음과 같습니다Android Facebook FeedDialogBuilder 개인 정보 보호/잠재 고객 게시
Bundle params = new Bundle();
params.putString("description", " ");
params.putString("name", "testtest app");
params.putString("link", "http://www.testtestapp.com/");
WebDialog feedDialog = (new WebDialog.FeedDialogBuilder(QuickCalc.this, Session.getActiveSession(), params)).setOnCompleteListener(new OnCompleteListener() {
@Override
public void onComplete(Bundle values, FacebookException error) {
if (error == null) {
// When the story is posted, echo the success
// and the post Id.
final String postId = values.getString("post_id");
if (postId != null) {
} else {
// User clicked the Cancel button
}
} else {
// Generic, ex: network error
}
}
})
.build();
feedDialog.show();
나는 SSO를 잠시 뒤로 설치하고 거기에서 변경을 할 필요가 없다고 생각했다. 고맙습니다! – KevinM