0

我正在使用您的 api,并且我已成功调用将照片上传到我的个人资料。现在我正在尝试发布到特定频道,我需要为频道 ID 设置什么值....尝试了这个值:“/channel/{channel_id}”“channel_id”“channel”

    NSString *mediaCaption = [self.uploadedMediaInfo valueForKey:@"text"];
UIImage *img = viewImage;//[self.uploadedMediaInfo valueForKey:UIImagePickerControllerOriginalImage];

NSMutableDictionary *uploadMediaParams = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                          @"jpg",                       @"extension",
                                          /*@"215913",                   @"/channel/{channel_id}",*/
                                          /*mediaCaption,                 @"text",*/
                                          nil];

// Additional parameters relevant to image upload are also added in the postImage request method
[self postImage:img params:uploadMediaParams delegate:self];
[self.uploadedMediaInfo removeAllObjects];

http://developers.mobli.com/documentation/authentication

4

1 回答 1

1

请使用 channels_list[] :移动频道 ID 的数组

于 2012-06-21T12:34:54.717 回答