[英]Sharing a url as an embedded inline video using ACTION_SEND in facebook
How can I embed a video url hosted in Amazon S3 , using the ACTION_SEND intent in facebook. 如何使用Facebook中的ACTION_SEND意图嵌入Amazon S3中托管的视频URL。
So far i've tried doing: 到目前为止,我已经尝试过:
Intent shareIntent = new Intent();
shareIntent.setAction(Intent.ACTION_SEND);
shareIntent.setType("video/*");
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));
shareIntent.putExtra("com.facebook.platform.extra.APPLICATION_ID", myAppId);
context.startActivityForResult(Intent.createChooser(shareIntent, "Share"), 1234);
Without any success. 没有任何成功。
The Uri needs to be a file on the local device. Uri必须是本地设备上的文件。 Otherwise you should be using a link share.
否则,您应该使用链接共享。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.