any way to prevent links?

18 views
Skip to first unread message

RB1980

unread,
Nov 4, 2011, 5:24:23 PM11/4/11
to SuperTweet MyAPI Proxy
Not sure this question is relevant to SuperTweet itself or more of a
Twitter API question, but:
anyone know how to prevent some text from automatically being turned
in to a link?
example:
I am sending a command that looks like this:
curl -s --connect-timeout 2 -u $USERNAME:$PASSWORD -d "status=this is
my foo.sd/blah post" http://api.supertweet.net/1/statuses/update.xml
and the text "foo.sd/blah" is getting turned into a shortened t.co url
link to http://foo.sd/blah/
It is somehow detecting that ".sd" is a domain name and turning it
into a link (does the same with .com, .org, etc)
I need this to either not happen or be able feed it a different url to
use for the link and display the original text.
as in: <a href="http://my_custom_url/blah">foo.sd/blah</a>

Mr Blog

unread,
Nov 4, 2011, 7:46:17 PM11/4/11
to SuperTweet MyAPI Proxy
It's the Twitter API. I think you want to look here:

https://dev.twitter.com/discussions/1062

I don't believe there is any way to opt-out of the new automatic link
shortening.

On Nov 4, 2:24 pm, RB1980 <dtownrobbr...@gmail.com> wrote:
> Not sure this question is relevant to SuperTweet itself or more of a
> Twitter API question, but:
> anyone know how to prevent some text from automatically being turned
> in to a link?
> example:
> I am sending a command that looks like this:
> curl -s --connect-timeout 2 -u $USERNAME:$PASSWORD -d "status=this is
> my foo.sd/blah post"http://api.supertweet.net/1/statuses/update.xml
> and the text "foo.sd/blah" is getting turned into a shortened t.co url
> link tohttp://foo.sd/blah/
Reply all
Reply to author
Forward
0 new messages