0
這應該是很容易的,但我想我是有點笨....易Twitter的API PHP問題
我想從Twitter獲取FULL_NAME:地方 - 任何人都可以幫我嗎?爲了得到其他元素,我使用$ entry-> title作爲例子,但是$ entry-> twitter:places-> full_name不起作用。
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns:google="http://base.google.com/ns/1.0" xml:lang="en-US" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns="http://www.w3.org/2005/Atom" xmlns:twitter="http://api.twitter.com/">
<id></id>
<link type="text/html" href="http://search.twitter.com/search?q=" rel="alternate"/>
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?q=" rel="self"/>
<title>Twitter Search</title>
<link type="application/opensearchdescription+xml" href="http://search.twitter.com/opensearch.xml" rel="search"/>
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?&since_id=" rel="refresh"/>
<updated>2011-06-01T18:32:50Z</updated>
<openSearch:itemsPerPage>15</openSearch:itemsPerPage>
<entry>
<id></id>
<published>2011-06-01T18:32:50Z</published>
<link type="text/html" href="" rel="alternate"/>
<title></title>
<content type="html"></content>
<updated>2011-06-01T18:32:50Z</updated>
<link type="image/png" href="" rel="image"/>
<twitter:geo>
</twitter:geo>
<twitter:metadata>
<twitter:result_type>recent</twitter:result_type>
</twitter:metadata>
<twitter:place>
<twitter:id></twitter:id>
<twitter:full_name>London</twitter:full_name>
<twitter:type>city</twitter:type>
</twitter:place>
<twitter:source></twitter:source>
<twitter:lang>en</twitter:lang>
<author>
<name></name>
<uri></uri>
</author>
</entry>
</feed>
任何人都可以幫忙嗎?