Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram update to 5.0. How can I set "InstagramCaption" programmatically with iPhone hooks

Tags:

ios

instagram

As Instagram official document says

To include a pre-filled caption with your photo, you can set the annotation property on the document interaction request to an NSDictionary containing an NSString under the key "InstagramCaption". Note: this feature will be available on Instagram 2.1 and later.

For Instagram 4.x or lower, it works well. But for Instagram 5.0, Instagram team added a new feature called "Direct". When users upload a photo, they have two options "Followers" or "DIRECT". I think this is the reason why "InstagramCaption" doesn't work. Is there a new way to add caption programmatically?

Thank you so much!

    self.dic.annotation = @{@"InstagramCaption" : captionString};
    self.dic.delegate = self;
    [self.dic presentOpenInMenuFromRect:shareButton.frame inView:self.view animated:YES];

It doesn't work now.

like image 226
Wiki Zhao Avatar asked Dec 12 '13 19:12

Wiki Zhao


1 Answers

Best response I've gotten so far:

Thanks for your report and interest in the Instagram platform. We are aware of this issue and it will be fixed in the next update of the iOS app.

I followed up asking for a timeframe or anymore info on a workaround but have not heard anything.

like image 178
HarrisonJackson Avatar answered Oct 26 '22 21:10

HarrisonJackson