2011-09-09 5 views
0

Googleの登録済みの業績には不完全なエントリがいくつか表示されています。あなたが最初の2つの項目が不完全である、と私は削除したい見ることができるように関連するURLを持たない業績の登録を解除するには

{ 
"data": [{ 
    "id": "10150249221973207", 
    "updated_time": "2011-09-08T07:42:46+0000", 
    "context": { 
     "display_order": 0 
    } 
}, { 
    "id": "10150283711123407", 
    "updated_time": "2011-07-22T11:54:35+0000", 
    "context": { 
     "display_order": 0 
    } 
}, { 
    "url": "http:\/\/www.gunshine.net\/achievement\/info?achievementType=104857600", 
    "type": "game.achievement", 
    "title": "Meet The Challenge", 
    "image": [{ 
     "url": "http:\/\/c459558.r58.cf2.rackcdn.com\/asset_0_10_9\/graphics\/achievement_icons\/achievement_unlocked_icon.png" 
    }], 
    "description": "Reach level 2", 
    "site_name": "gunshine.net", 
    "data": { 
     "points": 10 
    }, 
    "id": "10150273610694165", 
    "updated_time": "2011-09-07T15:47:27+0000", 
    "context": { 
     "display_order": 0 
    } 
}, 
and so on.... 

:次のグラフAPI呼び出し

curl "https://graph.facebook.com/<appid>/achievements?access_token=<app_access_token>" 

このような呼び出しが戻るの結果を使用して実績の照会

しかし、成果の文書によると、https://developers.facebook.com/docs/achievements/の成績の登録解除には、URLを渡す必要があります。

業績URLなしで達成を登録解除する方法はありますか?

{"error":{"type":"GraphMethodException","message":"Unsupported delete request."}} 

curl -X DELETE "https://graph.facebook.com/<incomplete_achievement_id>?access_token=<app_access_token>" 

結果

答えて

0

は以下を使用し -X DELETE「httpsのカール://グラフをエラーメッセージにメカニズム結果を削除し、通常のグラフAPIを使用しようと

。 facebook.com/AppId/achievements?access_token = ... &アチーブメント=フルURL "

関連する問題