0

ウォールポスト自体で直接表示できる基本的なインタラクティブフラッシュコンテンツをWebサイトから投稿しようとしています。ここで説明すること(パラノマ画像を表示)を実行しようとしています。これは、ボーダーの意味で、ポスト自体でフラッシュコンテンツを表示することです。しかし、リンクは以前のSDKを使用した例を示しています。これは私が書いたコードで、想定どおりに機能していないようです。

Bundle postParams = new Bundle();
            postParams.putString("name", "Facebook SDK for Android");
            postParams.putString("caption", "Build great social apps and get more installs.");
            postParams.putString("description", "The Facebook SDK for Android makes it easier and faster to develop Facebook integrated Android apps.");               
            postParams.putString("type", "video");
            postParams.putString("video:width", "560");
            postParams.putString("video:height", "400");
            postParams.putString("video:type", "application/x-shockwave-flash");
//            postParams.putString("link", "http://patrickcheatham.com/wp-content/interactives/panoramas/_common/krpano.swf?" +
//                  "pano=http://patrickcheatham.com/wp-content/interactives/panoramas/201012_shanghai_bund/tour_facebook.xml");
            postParams.putString("picture", "http://patrickcheatham.com/wp-content/uploads/2011/03/shanghai_thumbnail.jpg");

ノート:

  1. 投稿するコンテンツはまだ完全に構造化されていないため、ダミーデータを使用します。
  2. FBアプリは、本来あるべき姿ではなく、壁に完全に投稿します。

私が何かを逃している場合は教えてくださいまたは追加情報が必要な場合はそれを求めてください

4

1 に答える 1

0

Graph API-Postを通過した後、私は知りましsourceた。typeapplication/x-shockwave-flash

Bundle postParams = new Bundle();
postParams.putString("message", "the message is from DemoApp");
postParams.putString("name", "Panorama images");
postParams.putString("caption", "Test for viewing panorama images in Facebook");
postParams.putString("description", "The Facebook SDK for Android");
postParams.putString("type","application/x-shockwave-flash");              
postParams.putString("source", "http://patrickcheatham.com/wp-content/interactives/panoramas/_common/krpano.swf?" 
                            +"pano=http://patrickcheatham.com/wp-content/interactives/panoramas/201012_shanghai_bund/tour_facebook.xml");
postParams.putString("picture", "http://patrickcheatham.com/wp-content/uploads/2011/03/shanghai_thumbnail.jpg");
于 2013-03-09T06:00:48.137 に答える