Development

How to get your Twitter api keys

Here is how to get your Twitter api Consumer Key (API Key), Consumer Secret (API Secret) , Access Token and Access Token Secret. With these 4 values you can tweet out information and data with PHP and api’s.

Be signed into Twitter and head to apps.twitter.com and click the button “Create new app”

Fill out the form; You can put something like “test project” in the name input. A small description of what you’re doing with the api and the website or URL its being hosted at (this can be a placeholder). Skip the callback URL and tick yes for the agreeance to the Twitter developer terms, Now click “Create your Twitter application”.

Now you will come across the app management page like this:

Click “manage keys and access tokens”

A new page will load, Take note and get your

Consumer Key (API Key)
Consumer Secret (API Secret)

Now down the page click “Create my access token”
The page will reload and under Your access token you will now be able to see your
Access Token
Access Token Secret
You now have all you need to integrate Twitter with PHP.
Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

1 year ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

1 year ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

2 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

2 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

2 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

2 years ago