Search for: Hello World

4th Jul 2013 07:30am
6,333 views | 0 comments

Twitter Series: #3 Hello World

You should now have the API running with v1.1, your application setup and your keys/secrets all together? Yes? Great, lets begin...

Hopefully your directory structure is currently like this:

+ Root Folder + twitteroauth - OAuth.php - twitteroauth.php

If so, then in the "Root Folder", create a file called "hello.php".

Now we will begin. At first we will need to assign all the keys and secrets as seperate varibles, like so:

<?php // Consumer key $consumerKey = ''; // Consumer secret $consumerSecret = ''; // Access token $OAuthToken = ''; // Access token secret $OAuthSecret = ''; ?>

Within the single quotes, you will need to put your values that're shown on your Twitter application's page.

Now... [read more]

  • © Dale Hay, 2005 - 2020