我正在使用您的api,我已成功通过电话将照片上传到我的个人资料中。 现在我想发布到特定频道,我需要为频道ID提供什么价值.... 试过这个值: “/信道/ {CHANNEL_ID}” “CHANNEL_ID” “信道”
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];
答案 0 :(得分:1)
请使用channels_list []:一个mobli频道ID的数组