ALERT: Twitter share API issue

15 views
Skip to first unread message

Jonathan Strauss

unread,
May 18, 2011, 9:16:27 PM5/18/11
to awes...@googlegroups.com
Hey all,

It's come to our attention that Twitter has unintentionally broken the legacy share method (i.e. http://twitter.com/hom?status=) and they haven't yet provided a timeline for fixing it (see http://groups.google.com/group/twitter-development-talk/browse_thread/thread/994aca9e9a4a78e6# and http://code.google.com/p/twitter-api/issues/detail?id=1650 for full details).

The bad news is that this has broken any implementations against the old documented Twitter share link example on our v1 create.awe.sm/url/share endpoint and any implementations relying on the channel=twitter flag in our v2 api.awe.sm/url/share and api.awe.sm/url/retweet endpoints.

If you are specifying a destination= argument for any of these endpoints, you can fix this on your side simply by changing 'http://twitter.com/home?status=' to 'http://twitter.com/intent/tweet?text=' in your destination= value. (NB: The recommended way of using web intents involves breaking out the url argument per http://dev.twitter.com/pages/intents#tweet-intent, so an example would be 'destination=http://twitter.com/intent/tweet?url=AWESM_TARGET%26text=Tweet+text+goes+here%26via=awesm'.)

If you are using the v2 api.awe.sm/url/share or api.awe.sm/url/retweet endpoints with channel=twitter and no destination= argument, we are currently switching our hard-coded destination values to use the basic fix above (i.e. using 'http://twitter.com/intent/tweet?text=' without breaking out the url argument). This should preserve the functionality of your current implementations that rely on our implicit Twitter sharing destination (see https://github.com/awesm/awesm-dev-tools/wiki/Create-API#supported_channels) without requiring any change on your part. However it may take several hours for the fix to fully propagate due to the heavy caching we have in place to optimize the performance of these endpoints.

As always, please feel free to reach out to us directly at devel...@awe.sm with any questions or feedback.

Best,
-jonathan

P.S. If you haven't already, please check out the awe.sm-powered version of the official Tweet Button: https://github.com/awesm/awesm-dev-tools/wiki/Share-Buttons#tweet (and our FB Share and Like buttons as well).

--
Jonathan Strauss, Co-Founder
http://awe.sm

We're hiring! http://awe.sm/jobs

Blog: http://jonathanhstrauss.com
Twitter: http://twitter.com/jhstrauss

Reply all
Reply to author
Forward
0 new messages