Note that there are some explanatory texts on larger screens.

plurals
  1. POSharing Video on facebook fails
    primarykey
    data
    text
    <p>I am sharing a video on facebook using Facebook SDK 3.1.1. I have mentioned the code here.</p> <pre><code>FBRequestConnection *newConnection = [[FBRequestConnection alloc] init]; // for each fbid in the array, we create a request object to fetch // the profile, along with a handler to respond to the results of the request NSString *fbid = @"me"; // create a handler block to handle the results of the request for fbid's profile FBRequestHandler handler = ^(FBRequestConnection *connection, id result, NSError *error) { // output the results of the request [self requestCompleted:connection forFbID:fbid result:result error:error]; }; // create the request object, using the fbid as the graph path // as an alternative the request* static methods of the FBRequest class could // be used to fetch common requests, such as /me and /me/friends NSData *videoData = [NSData dataWithContentsOfFile:path]; NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: videoData, @"video.mov", @"video/quicktime", @"contentType", @"Video", @"title", @"Video Test Description", @"description", @"hello",@"subdescription", nil]; FBRequest *request = [[FBRequest alloc] initWithSession:theDelegate.session graphPath:@"me/videos" parameters:params HTTPMethod:@"POST"]; //:FBSession.activeSession graphPath:@"me/?fields=location"]; // add the request to the connection object, if more than one request is added // the connection object will compose the requests as a batch request; whether or // not the request is a batch or a singleton, the handler behavior is the same, // allowing the application to be dynamic in regards to whether a single or multiple // requests are occuring [newConnection addRequest:request completionHandler:handler]; // if there's an outstanding connection, just cancel [self.requestConnection cancel]; // keep track of our connection, and start it self.requestConnection = newConnection; [newConnection start]; </code></pre> <p>It was working properly earlier. I get the shared Video Id in response every time I initiate an upload video request. But I keep getting the following message when I check my profile on FB in the notifications. <strong>Your Video could not be processed. Visit the Video help page to learn about common problems</strong></p> <p>I have tried this with different AppIds. Uploading video is working though when I upload it using facebook website. Please help me with this. Its urgent.</p> <p>Thanks in Advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload