Quite surprised that only a small few people have noticed my absence from Twitter the past few days... quite disappointing really considering there's over 2,500 of you following, oh well, it's only the internet after all - where everyones minds are all focused on what others have had for dinner, constant shite about Bieber and the odd few pictures of cats chucked in too.
Anyways, yes, I decided to have a couple of days away from Twitter - mainly because it was slowly but surely stressing me out and also didn't help me relax. Every night... [read more]
So in the previous post in the Twitter Series, I covered how you can send a text-based tweet. Now in this post, I will show you how to send a tweet along with an image.
Now it should be noted at the moment that the PHP Twitter library we are using, Abraham, doesn't seem to support natively Twitter's "statuses/update_with_media" API call (neither did it in v1), however there are a few work arounds, some simple and some a bit complex, however for this tutorial we'll stick to a more simpler workaround. (Hopefully though in the not-too-distant-future, Abraham updates his stuff and... [read more]
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]
Hopefully, you're all running on Twitter's API v1.1 now, as explained in the previous post.
Ok, right. So now to start things off, you will need to head over to the Developers section of Twitter and at the top click the "Sign In" option. Enter your login details as they are for Twitter normally, then you will need to authorise Twitter's Development page to allow you to continue, then once you've authorised it, you will be able to create your first application.
Once everything is authorised, you will be sent back to... [read more]
The final stages of the transition from v1 to v1.1 of Twitter's API went fully complete 11th June 2013, however there's still a fair few people using v1 of the Twitter API and moaning that it's not working. Well obviously it's not going to work now as it's been totally switched off.
However updating to use v1.1 of the API is very simple.
Now before I start rambling on about how you can do things, I would like to point out that I am using Abraham Williams' Twitter OAuth class for this post (as it's the first and main one I've came... [read more]
Alexandra Selas (8th May 23:13)
Thank you from 2020....
Charlie Phung (29th April 21:05)
When i try to use this method, i am getting error
"An Error occurred while applying security information to: C:hiberfil.sys".
and multiple similar error for the the other secure file...
Miki Katyal (27th April 10:42)
Been using the program since last year and it stopped working since 25th April. Could you please update it?...
Pateos (26th April 07:00)