ios - Youtube videos thumbnail not shown -
i'm posting users wall ios sdk 3.2.1. ok if post youtube video, it's thumbnail not shown. posting code this:
postparams =[[nsmutabledictionary alloc] init]; [postparams setobject:link forkey:@"link"]; [postparams setobject:name forkey:@"name"]; [postparams setobject:desc forkey:@"description"]; [postparams setobject:url forkey:@"source"]; [postparams setobject:message forkey:@"message"];    appdelegate *appdel=[[uiapplication sharedapplication] delegate]; appdel.session=[[fbsession alloc] init]; [appdel.session openwithcompletionhandler:^(fbsession *session,                                                     fbsessionstate status,                                                     nserror *error)          {          }];         [fbsession setactivesession:appdel.session];         [fbrequestconnection startwithgraphpath:@"me/feed" parameters:postparams                 httpmethod:@"post" completionhandler:^(fbrequestconnection *connection,id result,                                          nserror *error) {         if (error)         {             [self failedtopublishpost];         }         else         {             [self finishedpublishingpost];         }         }];   what think this?
 
 
  
Comments
Post a Comment