Video uploading issues using Facebook IOS app for other users

2vision2

I uploaded video from using Facebook latest sdk its works fine. I have created in ios app in Facebook developer account. Still my app in testing mode. My app was not published in app store. I have tested with my facebook account video was uploaded to my facebook account . My app status was in live. I tried with my friend account below error came all the time. Please help me how to make works with other users. i have used code below for video uploading

NSString *filePath = [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"mov"];
NSData *videoData = [NSData dataWithContentsOfFile:filePath];

NSString* videoName = [filePath lastPathComponent];
NSMutableDictionary* params = [[NSMutableDictionary alloc] init];
[params setObject:@"testing from ios app" forKey:@"description"];
[params setObject:videoData forKey:videoName];

[FBRequestConnection startWithGraphPath:@"me/videos"
                                                                      parameters:params
                                                                      HTTPMethod:@"POST"
                                                               completionHandler:^(FBRequestConnection *connection,
                                                                                   id result,
                                                                                   NSError *error)
                                          {

                                          }];

In apple developer account only showing approved for email,public_profile,user_friends.

     permissions:(
    "public_profile"
)>, com.facebook.sdk:ParsedJSONResponseKey={
    body =     {
        error =         {
            code = 200;
            message = "(#200) Requires extended permission: publish_actions";
            type = OAuthException;
        };
    };
    code = 403;
}}
sahara108

It means that you need request for publish_actions permission before upload. See Facebook Login for iOS, search for Checking for permissions.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Issues with checkboxes checking other check boxes on App

분류에서Dev

how to share a Photo Or link on facebook wall without using FBSDKShareDialog from native ios app

분류에서Dev

Uploading Video in php not working

분류에서Dev

How to send app invitation to facebook friends from ios app

분류에서Dev

Facebook SDK issues with app name mismatch while trying to share via Android app

분류에서Dev

video-graph.facebook iOS를 통해 Facebook에 비디오 업로드

분류에서Dev

iOS sdk using facebook user details for registration

분류에서Dev

Is anything in the Video Resource optional for uploading?

분류에서Dev

How to load other users Twitter wall using Hybridauth

분류에서Dev

How to make an action button which takes user to Facebook app in iOS?

분류에서Dev

Swift IOS Facebook 로그인 Fast-App-Switch

분류에서Dev

Play video if no other video playing

분류에서Dev

i want to share our app in facebook using graph object

분류에서Dev

IOS Facebook Authentication Using node.js passport-facebook-token

분류에서Dev

Apps are updating status via facebook android sdk 3.17 but not when using Facebook's official app (#404)

분류에서Dev

Deleting facebook user role in app when user hasn't yet accepted the invitation (pending) using facebook graph

분류에서Dev

facebook opening on a browser not on facebook App

분류에서Dev

iOS Facebook-APP에서는 Facebook 앱을 사용할 수 없습니다.

분류에서Dev

File is not uploading using Ajax/JQuery but uploading using Form submit

분류에서Dev

Uploading image to FTP using PHP

분류에서Dev

iOS cannot play video

분류에서Dev

Ios Video Effect

분류에서Dev

Launch Image Error - Cannot upload ios app created using adobe AIR into ios app store

분류에서Dev

Windows Store app, Is it any way to find Video Duration from Storage File? Other that getting duration from Media Element?

분류에서Dev

IOS Swift and Facebook SDK

분류에서Dev

iOS Facebook 공유

분류에서Dev

Android App for Facebook

분류에서Dev

Facebook Connect - get users friends score

분류에서Dev

Import MP3 in iOS app (using code)

Related 관련 기사

  1. 1

    Issues with checkboxes checking other check boxes on App

  2. 2

    how to share a Photo Or link on facebook wall without using FBSDKShareDialog from native ios app

  3. 3

    Uploading Video in php not working

  4. 4

    How to send app invitation to facebook friends from ios app

  5. 5

    Facebook SDK issues with app name mismatch while trying to share via Android app

  6. 6

    video-graph.facebook iOS를 통해 Facebook에 비디오 업로드

  7. 7

    iOS sdk using facebook user details for registration

  8. 8

    Is anything in the Video Resource optional for uploading?

  9. 9

    How to load other users Twitter wall using Hybridauth

  10. 10

    How to make an action button which takes user to Facebook app in iOS?

  11. 11

    Swift IOS Facebook 로그인 Fast-App-Switch

  12. 12

    Play video if no other video playing

  13. 13

    i want to share our app in facebook using graph object

  14. 14

    IOS Facebook Authentication Using node.js passport-facebook-token

  15. 15

    Apps are updating status via facebook android sdk 3.17 but not when using Facebook's official app (#404)

  16. 16

    Deleting facebook user role in app when user hasn't yet accepted the invitation (pending) using facebook graph

  17. 17

    facebook opening on a browser not on facebook App

  18. 18

    iOS Facebook-APP에서는 Facebook 앱을 사용할 수 없습니다.

  19. 19

    File is not uploading using Ajax/JQuery but uploading using Form submit

  20. 20

    Uploading image to FTP using PHP

  21. 21

    iOS cannot play video

  22. 22

    Ios Video Effect

  23. 23

    Launch Image Error - Cannot upload ios app created using adobe AIR into ios app store

  24. 24

    Windows Store app, Is it any way to find Video Duration from Storage File? Other that getting duration from Media Element?

  25. 25

    IOS Swift and Facebook SDK

  26. 26

    iOS Facebook 공유

  27. 27

    Android App for Facebook

  28. 28

    Facebook Connect - get users friends score

  29. 29

    Import MP3 in iOS app (using code)

뜨겁다태그

보관