Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are plenty of documents and PHP libraries out there to assist you with this:</p> <ul> <li><a href="http://apiwiki.twitter.com/Libraries#PHP" rel="nofollow noreferrer">http://apiwiki.twitter.com/Libraries#PHP</a></li> <li><a href="http://apiwiki.twitter.com/Twitter-API-Documentation" rel="nofollow noreferrer">http://apiwiki.twitter.com/Twitter-API-Documentation</a></li> </ul> <p>As for the specific method I would use: - <a href="http://apiwiki.twitter.com/Twitter-Search-API-Method:-search" rel="nofollow noreferrer">http://apiwiki.twitter.com/Twitter-Search-API-Method:-search</a></p> <p>Example: - <a href="http://search.twitter.com/search.atom?q=twitter" rel="nofollow noreferrer">http://search.twitter.com/search.atom?q=twitter</a></p> <p>I would then use simplexml (<a href="http://www.php.net/simplexml" rel="nofollow noreferrer">http://www.php.net/simplexml</a>) to parse the atom feed. From there I would use the <a href="http://us3.php.net/count" rel="nofollow noreferrer">count</a> method to get the number of "entry" items in that feed.</p> <p>Please keep in mind that the atom format uses xml namespaces and you'll have to use the <a href="http://www.php.net/manual/en/simplexmlelement.children.php" rel="nofollow noreferrer">children</a> method to retrieve items correctly. More on this can be found here: <a href="http://www.sitepoint.com/blogs/2005/10/20/simplexml-and-namespaces/" rel="nofollow noreferrer">http://www.sitepoint.com/blogs/2005/10/20/simplexml-and-namespaces/</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload