是否可以从 iOS 应用程序将 post 360 度全景照片上传到 Facebook?

Is it possible to post 360 Photos to Facebook from an iOS App?

我正在寻找通过我的 iOS 应用程序在 Facebook 上 post 360 照片的方法。

我一直在 google 上搜索,但找不到任何有用的答案。

谁能澄清一下这种可能性?

好的,终于找到了this thread

Facebook 似乎读取元数据来识别 360 度照片。

我已经创建了一个框架来执行此操作。

鉴于您已成功获得权限,您可以执行以下操作:

[[Facebook360Manager sharedInstance] shareImage:[UIImage imageNamed:@"cylindrical360.jpg"]
                                      userCaption:@"Example caption..."
                                    horizontalFOV:360.0
                                  sharePreference:FacebookShareManagerPreferenceCylindricalImage
                                  completionBlock:^(NSError * _Nullable error, NSString * _Nullable postID) {
                                    if (error) {
                                      NSLog(@"Error: %@",error);
                                    }else{
                                      NSLog(@"Shared successfully. Post ID: %@",postID);
                                    }
                                  }];

这是框架的link:https://github.com/AppCoders-io/Facebook360