2
我正在開發將圖片發佈到Facebook的應用程序。這工作很好。但我的問題是,我找不到將從facebook上選擇的照片delete
的樣本。我已經準備好了function
,它從facebook獲取WallId
和PhotoID
。從Facebook相冊中刪除圖片
我的問題是,我無法得到我應該放什麼facebook runner.request
我知道,我需要通過DELETE
和PhotoId
我的功能是目前
private void delete_fb(){
AsyncFacebookRunner fruner = new AsyncFacebookRunner(facebook);
Bundle params = new Bundle();
params.putString("fields", "id,name");
if(favi.get(indeks).fbid!=0 && WallId != 0){
fruner.request("me/"+WallId+"/"+favi.get(index).fbid,params ,"DELETE",new Del(),null);
}
}
所以,如果你能解釋我把什麼"me/"+WallId+"/"+favi.get(index).fbid
的地方fruner.request()
或給我一些示例代碼,我會很高興。
謝謝。
你的函數返回您要刪除帖子ID ?? –
@AT_AB是的。我檢查過,他們返回正確的WallId和PhotoId的問題是我不能得到我該怎麼做才能從Facebook上刪除該圖片。 – J1and1
什麼是德爾()? –