statuses/update failing to wrap 127.0.0.1 URLs via t.co after opting in

64 views
Skip to first unread message

Chris McClelland

unread,
Aug 11, 2011, 4:57:06 PM8/11/11
to twitter-deve...@googlegroups.com
After opting into the optional t.co wrapping, we are still getting the following error when trying to post statuses w/ URLs that are greater than 140 characters in length.

Example:

I just posted a review of the Roast Beef with Scallion Roll from Taiwan Cafe on Tasted Menu! http://127.0.0.1/boston/restaurants/taiwan-cafe/roast-beef-with-scallion-roll

Returns:  POST https://api.twitter.com/1/statuses/update.json: 403: Status is over 140 characters.

But if we change the 127.0.0.1 to 'www.tastedmenu.com', e.g.:

I just posted a review of the Roast Beef with Scallion Roll from Taiwan Cafe on Tasted Menu! http://www.tastedmenu.com/boston/restaurants/taiwan-cafe/roast-beef-with-scallion-roll

... it posts properly.

I assume t.co is punting on wrapping 127.0.0.1 URLs. Is this expected behavior?

Thanks,

Chris
Reply all
Reply to author
Forward
0 new messages