私はAndroid用のFacebookウィッシュリストアプリを使用しています。カスタムオブジェクトをFacebookグラフに追加しようとすると、APIは次のエラーを返します。
{
"error: {
"type": "OAuthExeption",
"message":"(#100)
Application does not own
230752723668296 action type"
}
}
この特定のエラーに関する特定のドキュメントを見つけることができませんでした。私がこれを解釈するのを手伝ってくれるかもしれないFacebook開発者はいますか?
また、このアプリがエラーなしで実行されている実例がすでにあることにも言及する必要があります(作業を失うことを恐れずに微調整できるように、このアプリを複製しようとしています)。アクションの名前を変更してみましたが、違いはありません。以下は、Facebookのタイムラインにアイテムを追加するAndroidコードのスニペットです。ただし、このプロジェクトには3つの側面(Facebook、My Server、Android)があるため、これは全体的なパズルのほんの一部です。
public void addToTimeline() {
dialog = ProgressDialog.show(Wishlist.this, "",getString(R.string.adding_to_timeline), true, true);
/*
* Create Product URL
*/
String productURL = HOST_SERVER_URL + HOST_PRODUCT_URI;
Bundle productParams = new Bundle();
productParams.putString("name", mProductName);
productParams.putString("image", mProductImageName);
productURL = productURL + "?" + Util.encodeUrl(productParams);
Bundle wishlistParams = new Bundle();
if(mPlacesAvailable) {
try {
wishlistParams.putString("place", mPlacesJSONArray.getJSONObject(mPlacesListSpinner.getSelectedItemPosition()).getString("id"));
} catch (JSONException e) {}
}
wishlistParams.putString("wishlist", WISHLIST_OBJECTS_URL[mWishlistSpinner.getSelectedItemPosition()]);
wishlistParams.putString("product", productURL);
wishlistParams.putString("image", mProductImageURL);
//TODO
//put the app's namespace and 'add_to' action here
Utility.mAsyncRunner.request("me/wishlisteight:adding_to", wishlistParams, "POST", new addToTimelineListener(), null);
}