Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

jQuery - PHP & Ajax with the Twitter API

Posted: Nov/22/2009   By: pankaj   Points:15   Category: PHP  - Others    Views:124   Vote Up (0)   Vote Down (0)    
So, in order for us to talk to the Twitter API, we need to use cURL. This isn't a hard and fast rule, but it sure does make our lives easier. The cURL library should be installed as part of your PHP installation, but do check.

cURL allows us to make a simple call to the Twitter API, and grab some results back if necessary. I'll be using XML to return results for this demo, but you can use JSON if you want. Anyway, without further ado, here is a nice piece of PHP code to talk to the Twitter Search API - so create a file called getSearch.php :

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Jquery Tutorial: Passing php arrays to javascript arrays

  
Passing php arrays to javascript arrays. This is an advanced tutorial designed for people who are comfortable using jquery, ajax and php. It will teach you how to retrieve a php array using jquery, convert it to a javascript array then manipulate it.

Creating a Dynamic Poll with jQuery and PHP

  
When you combine some neat functionality courtesy of PHP with the cleverness of jQuery you can produce some pretty cool results. In this tutorial we'll create a poll using PHP and XHTML, then make use of some jQuery Ajax effects to eliminate the need for a page refresh, and to give it a nice little bit of animation.
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge