Simple php script for twitter hash tag search

June 18, 2015 No Comments Uncategorized Dinesh Belkare

Twitter hash tag search is now being most widely used in many organizations.
To integrate twitter hashtag search into your application follow the below steps.

  1. Create twitter application by visiting create new twitter app.
  2. Put your application name,description and website url in respective fields.Callback url is not necessary for our application.
  3. Select “Yes,I agree” at the bottom side and click “Create your Twitter application” button.Your application is created.
  4. Now visit twitter app and select(click on) app you just created.
  5. Select “Keys and Access Tokens”.You will get “Consumer Key” and “Consumer Secret”.Now scroll down and generate “Access Token” and “Token Secret” by clicking on generate access token button.Thus you have obtained all credentials needed for our application.
  6. Now download and extract it.
  7. Open search.php file and put credentials obtained in earlier steps.
  8. Code is very simple and well commented.Read comments and put your inputs as needed.
  9. Thats it, your twitter hash tag search application is ready.
  10. Now run the script and you will get all tweets containing your hash tag.
About The Author

Leave a reply

Your email address will not be published. Required fields are marked *