[twitter-dev] How to retrieve url link written in a tweet please?

2009-12-26 Thread humbucker
Hello,

When I perform a twitter search from a jquery file, I get something
like this :

{results:[{
profile_image_url:http://a1.twimg.com/profile_images/304998018/
icon_128_normal.png,
created_at:Sat, 26 Dec 2009 13:05:18 +,
from_user:web2feed,to_user_id:null,
text:RT @rodrigocunha85: Algu\u00e9m ainda se lembra dos
transferidores e cat\u00e1logos da Letraset? http://twitpic.com/vb1xi
#design #tipografia,
id:7060359872,from_user_id:27624855,
geo:null,iso_language_code:pt,
source:lt;a href=quot;http://twibots.comquot;
rel=quot;nofollowquot;gt;TwiBotslt;/agt;},

I would like to be able to retrieve the url written in the tweet text,
e.g (here we got a twitpic url)

How can this be achieved please ?

Many many thanks for your help.


Re: [twitter-dev] How to retrieve url link written in a tweet please?

2009-12-26 Thread Michael Steuer

Try regular expressions on the status text...



On Dec 26, 2009, at 9:25 AM, humbucker oursystemfai...@gmail.com  
wrote:



Hello,

When I perform a twitter search from a jquery file, I get something
like this :

{results:[{
profile_image_url:http://a1.twimg.com/profile_images/304998018/
icon_128_normal.png,
created_at:Sat, 26 Dec 2009 13:05:18 +,
from_user:web2feed,to_user_id:null,
text:RT @rodrigocunha85: Algu\u00e9m ainda se lembra dos
transferidores e cat\u00e1logos da Letraset? http://twitpic.com/vb1xi
#design #tipografia,
id:7060359872,from_user_id:27624855,
geo:null,iso_language_code:pt,
source:lt;a href=quot;http://twibots.comquot;
rel=quot;nofollowquot;gt;TwiBotslt;/agt;},

I would like to be able to retrieve the url written in the tweet text,
e.g (here we got a twitpic url)

How can this be achieved please ?

Many many thanks for your help.


Re: [twitter-dev] How to retrieve url link written in a tweet please?

2009-12-26 Thread John Meyer

Here's an example in PHP, but it should work cross language:

http://snipplr.com/view/2371/regex-regular-expression-to-match-a-url/


On 12/26/2009 12:41 PM, Michael Steuer wrote:

Try regular expressions on the status text...



On Dec 26, 2009, at 9:25 AM, humbucker oursystemfai...@gmail.com wrote:


Hello,

When I perform a twitter search from a jquery file, I get something
like this :

{results:[{
profile_image_url:http://a1.twimg.com/profile_images/304998018/
icon_128_normal.png,
created_at:Sat, 26 Dec 2009 13:05:18 +,
from_user:web2feed,to_user_id:null,
text:RT @rodrigocunha85: Algu\u00e9m ainda se lembra dos
transferidores e cat\u00e1logos da Letraset? http://twitpic.com/vb1xi
#design #tipografia,
id:7060359872,from_user_id:27624855,
geo:null,iso_language_code:pt,
source:lt;a href=quot;http://twibots.comquot;
rel=quot;nofollowquot;gt;TwiBotslt;/agt;},

I would like to be able to retrieve the url written in the tweet text,
e.g (here we got a twitpic url)

How can this be achieved please ?

Many many thanks for your help.






Re: [twitter-dev] How to retrieve url link written in a tweet please?

2009-12-26 Thread Lukas Müller
Hi,

Twitter just gives you the text of the tweet.
You have to parse the URL out of the text with a regex. e.g.

Greetings from Germany
Lukas

Am 26.12.2009 18:25, schrieb humbucker:
 I would like to be able to retrieve the url written in the tweet text,
 e.g (here we got a twitpic url)
 
 How can this be achieved please ?