How to Auto Post on Twitter Using PHP – Part 1



If you post many new topics every day then automated post can be used. But manually posted on social networks is better then automated method. In my previous post I have explained how to Auto Post on Facebook. Now in this tutorial I am sharing how to Auto Post on Twitter using PHP.

Twitter provides twitter API to communicate programmatically with it. But you can’t use API directly, so you need to create a Twitter App and get Consumer Key(API key), Consumer Secret(API secret), Access Token and Access Token Secret. You have to use them with twitter API to communicate.

I have divided this tutorial in 2 parts. In this part I am showing you how to create a twitter App and get access tokens.

To Create a Twitter App

Step 1 – Go to https://apps.twitter.com/ and sign in with your account

login to twitter
login to twitter

 

 

Step 2 – Click ‘Create New App’ button

create new app
create new app

Step 3 – Complete the required fields and click ‘Create your Twitter application’

Create an application form
Create an application form

Step 4 – Go to Keys and Access Tokens TAB and click ‘Create my Access token’ button

Create my access token
Create my access token

Step 5 – Now get your access tokens under Your Access Token

get your access token
get your access token

This tutorial will help you to create twitter app and get Consumer Key(API key), Consumer Secret(API secret), Access Token and Access Token Secret. These will be very helpful to communicate with the Twitter API and post on twitter.

Please read Auto Post on Twitter Using PHP and API 1.1 for Auto Post on Twitter using PHP.