Uplooad视频facebook-ios-sdk:上传,但没有显示在我的FB墙和我的视频 [英] Uplooad Video facebook-ios-sdk : uploaded but not shown on my FB Wall and in My Video
问题描述
我已使用以下代码在Facebook上上传视频
帮助From: https://github.com/zoul/facebook-ios-sdk/
Stackoverflow的完整讨论: Facebook iOS上传视频无法从访问令牌检索会话密钥。
I have upload the video on facebook using following code
Help From : https://github.com/zoul/facebook-ios-sdk/
Full Discussion on Stackoverflow : Facebook iOS Upload Video "Unable to retrieve session key from the access token."
代码 >
Code
FBVideoUpload *upload = [[FBVideoUpload alloc] init];
upload.accessToken = facebookObj.accessToken;
upload.apiKey = fbAppKey;
upload.appSecret = fbAppSecret;
NSString *filePath = @"/Users/pratgupta/Library/Application Support/iPhone Simulator/4.1/Media/DCIM/100APPLE/IMG_0010.M4V";
NSURL *fileURL = [NSURL fileURLWithPath:filePath];
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"test", @"title",
@"upload testing", @"description",
nil];
[upload startUploadWithURL:fileURL params:params delegate:self];
由此获得此回复
<?xml version="1.0" encoding="UTF-8"?>
<video_upload_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd">
<vid>10150166760687147</vid>
<title>test</title>
<description>upload testing</description>
<link>http://www.facebook.com/video/video.php?v=10150166760687147</link>
</video_upload_response>
,因为它成功上传了视频,但我无法在我的墙上看到我的视频
as it successfully upload the video, But I am not able to see it on my Wall ... even not in My Videos
请检查这些图片
下一个上一个当我在FB响应中打开链接返回,当我转到下一个视频,然后下一个/上一个不显示
http://i.stack.imgur.com/pH7Ba.png
http://i.stack.imgur.com/eUxTm.png
There is next previous when I open the link return in FB response and when I goes to the next video then next/previous not showing
http://i.stack.imgur.com/pH7Ba.png
http://i.stack.imgur.com/eUxTm.png
当我转到我的旧视频时,没有下一个上一个
http: //i.stack.imgur.com/XdHRF.png
There is no next previous when I goes to my old video
http://i.stack.imgur.com/XdHRF.png
当我转到我的视频时,没有新的视频
http://i.stack.imgur.com/yQ2Ub.png
When I goes to My Videos then there is no new video
http://i.stack.imgur.com/yQ2Ub.png
当我编辑图片时,会显示其隐私权,表示没有隐私权问题
http://i.stack.imgur.com/mR9BX.png
When I edit the image then shows its privacy as EVERYONE , means no privacy issue
http://i.stack.imgur.com/mR9BX.png
编辑
即使使用隐私权;每个人在其他人资料中未打开此视频直接链接
http://i.stack.imgur .com / YgEjJ.png
Amit Battan
推荐答案
现在视频已上传并在个人资料中显示确定..我认为这是FB API端的问题
Now the video uploaded and showing in profile ok.. I think it was the issue on FB API end
这篇关于Uplooad视频facebook-ios-sdk:上传,但没有显示在我的FB墙和我的视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!