Simple php script for twitter hash tag search
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.
- Create twitter application by visiting create new twitter app.
- Put your application name,description and website url in respective fields.Callback url is not necessary for our application.
- Select “Yes,I agree” at the bottom side and click “Create your Twitter application” button.Your application is created.
- Now visit twitter app and select(click on) app you just created.
- 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.
- Now download twitter-hashtag-search.zip and extract it.
- Open search.php file and put credentials obtained in earlier steps.
- Code is very simple and well commented.Read comments and put your inputs as needed.
- Thats it, your twitter hash tag search application is ready.
- Now run the script and you will get all tweets containing your hash tag.
About The Author