1
任何人都可以請幫我理解如何在facebook牆上分享鏈接?分享在facebook壁上的鏈接android
公共類SampleDialogListener擴展BaseDialogListener {
public void onComplete(Bundle values) {
final String postId = values.getString("post_id");///////
Log.d("Facebook-Example", "Dialog Success! post_id=" + postId);
if (postId != null) {
Log.d("Facebook-Example", "Dialog Success! post_id=" + postId);
mAsyncRunner.request(postId, new WallPostRequestListener());
mDeleteButton.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
mAsyncRunner.request(postId, new Bundle(), "DELETE",
new WallPostDeleteListener(), null);
}
});
mDeleteButton.setVisibility(View.VISIBLE);
} else {
Log.d("Facebook-Example", "No wall post made");
}
}
}
即時得到POST_ID的空值..
感謝您的解決方案....「我的測試鏈接」是共享的,但消息「測試照片」仍然沒有分享.....任何人都可以請幫忙... –