2013-03-20 16 views
5

मैं फेसबुक एसडीके 3.1.1 का उपयोग कर फेसबुक पर एक वीडियो साझा कर रहा हूँ। मैंने यहां कोड का उल्लेख किया है।शेयरिंग वीडियो में विफल रहता है

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]; 

यह ठीक से पहले काम कर रहा था। जब भी मैं एक अपलोड वीडियो अनुरोध शुरू करता हूं, तो मुझे प्रतिक्रिया में साझा वीडियो आईडी मिलती है। लेकिन जब मैं अधिसूचनाओं में एफबी पर अपनी प्रोफाइल जांचता हूं तो मुझे निम्न संदेश मिल रहा है। आपका वीडियो संसाधित नहीं किया जा सकता है। आम समस्याओं

मैं अलग AppIds के साथ इस की कोशिश की है के बारे में जानने के लिए वीडियो सहायता पृष्ठ पर जाएं। वीडियो अपलोड करना तब भी काम कर रहा है जब मैं इसे फेसबुक वेबसाइट का उपयोग करके अपलोड करता हूं। इसमें मेरी मदद करो। अत्यंत आवश्यक।

अग्रिम में धन्यवाद।

+2

में आप पुराने फेसबुक SDKs – Khushboo

+2

हाँ मेरे पास है के साथ की जाँच की है:

आप बग रिपोर्ट यहाँ वापस कर सकते हैं। उसके साथ एक ही मुद्दे का सामना करना पड़ रहा है। – Swati

+3

हाँ यह जरूरी है। मैं अपने आईओएस ऐप से कर रहा हूं। मुझे इसे इस सुविधा के साथ ऐपस्टोर में सबमिट करना होगा। एंड्रॉयड के तहत – Swati

उत्तर

3

इसके :) आप जाँच कर सकते हैं https://developers.facebook.com/bugs/543903808965945

+2

आपकी अधिसूचना के लिए धन्यवाद। – Swati

+1

हाँ, कल रात (मार्च 21 वीं 22:00 GMT 2013) के रूप में यह फिर से काम करने लगता है। आइए उम्मीद करते हैं कि यह इस तरह से जुड़ा हुआ है। –

संबंधित मुद्दे