我正试图从网站上发布基本的交互式Flash内容,可以直接在墙上帖子中查看,我正在尝试做一些描述here(查看paranoma图像)的内容,在寄宿意义上是查看flash帖子本身的内容。但是link显示了使用以前的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");
注意:
如果我遗失了某些内容,请告诉或如果您需要其他信息,请提出
答案 0 :(得分:0)
在完成Graph API- Post之后,我开始了解source
,并且确实这样做了type
也应该是application/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");