Skip to content

Commit

Permalink
instagram create: expand error message that IG API can't create photos
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Jan 26, 2016
1 parent ce17722 commit 8e38bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion granary/instagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def _create(self, obj, include_link=False, preview=None, ignore_formatting=False

return source.creation_result(
abort=True,
error_plain='Cannot publish this post on Instagram.',
error_plain='Cannot publish this post on Instagram. Instagram does not support posting photos or videos from 3rd party applications.',
error_html='Cannot publish this post on Instagram. Instagram <a href="http://instagram.com/developer/endpoints/media/#get_media_popular">does not support</a> posting photos or videos from 3rd party applications.')

def media_to_activity(self, media):
Expand Down

0 comments on commit 8e38bc4

Please sign in to comment.