0

I have simple Zend PHP application that will only fetch public posts from given channel using it's RSS link. I dont want to use OAuth method to save time. But the question is: can I substrack somehow the post image?

Or will have to use OAuth? If Yes, will everyone have to authorize just to read public posts?

This is simple RSS item:

<item>
<title>brdesign: A jak w RSSie si&#281; wy&#347;wietlaj&#261; foty? http://t.co/yzaKIdj9</title>
<description>brdesign: A jak w RSSie si&#281; wy&#347;wietlaj&#261; foty? http://t.co/yzaKIdj9</description>
<pubDate>Sun, 12 Feb 2012 16:33:49 +0000</pubDate>
<guid>http://twitter.com/brdesign/statuses/168734555732312064</guid>
<link>http://twitter.com/brdesign/statuses/168734555732312064</link>
<twitter:source>web</twitter:source>
<twitter:place/>
</item>

Where photo is http://t.co/yzaKIdj9

hakre
  • 193,403
  • 52
  • 435
  • 836
Bartosz Rychlicki
  • 1,918
  • 3
  • 20
  • 41

1 Answers1

0

If you have the data response you can use the advise offered here to extract the URL from the string.

Extract URLs from text in PHP

Community
  • 1
  • 1
Jake
  • 4,134
  • 2
  • 16
  • 20