Uplooad视频facebook-ios-sdk:已上传但未显示在我的FB墙上和我的视频中 [英] Uplooad Video facebook-ios-sdk : uploaded but not shown on my FB Wall and in My Video

查看:215
本文介绍了Uplooad视频facebook-ios-sdk:已上传但未显示在我的FB墙上和我的视频中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使用以下代码在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."

代码 p>

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 / Y Q2Ub.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆