¡@

Home 

2014/10/15 ¤U¤È 10:15:46

iphone Programming Glossary: videofilename

Trying to upload video to facebook using FBConnect for iPhone

http://stackoverflow.com/questions/3104660/trying-to-upload-video-to-facebook-using-fbconnect-for-iphone

NSHomeDirectory aSelectedQuote.quoteID video data converter NSData videoData NSData dataWithContentsOfFile path videoFileName NSString stringWithUTF8String videoData bytes dict for FB upload NSMutableDictionary args NSMutableDictionary alloc init.. bytes dict for FB upload NSMutableDictionary args NSMutableDictionary alloc init autorelease args setObject videoFileName forKey @ video args setObject aSelectedQuote.quoteTitle forKey @ title FBRequest FBRequest uploadVideoRequest FBRequest.. data endLine FBLOG2 @ Sending s body bytes return body iphone facebook share improve this question You're setting videoFileName to the raw bytes of the videofile videoFileName NSString stringWithUTF8String videoData bytes .... args setObject videoFileName..