[vimeo clip_id=”28656356″ width=”550″]
HOW TO INTEGRATE TWITTER INTO YOUR
So what I want to do today is integrate Twitter into my WordPress website. I’m fairly active on Twitter but not so much on the actual blog posting side. It’s something I want to address but certainly it will be easier for me to integrate Twitter within the site so that it will format and create new blog posts all the time.
I currently pull the tweets in this little side panel here, but what I would like is in the “Recent News” area to have a weekly digest of posts I’ve made on Twitter. So essentially to grab the past seven days’ worth of tweets, and then to create a new blog post under “Recent News”. Now I can do that using what’s called the Twitter Tools plugin.
So, I’m just going to jump in to the dashboard, head on over to “Add New Plugins”. Twitter Tools is a very useful plugin by Crowd Favorite. It allows you to not only create weekly and even daily digest of tweets, but it also allows that any new posts you make on the site will also be retweeted on your main Twitter account. So any of your followers will then be notified about the new blog post that you’ve made.
So I’ll go ahead and install.
Okay, that’s done. Activate the plugin.
And now, go into the Settings.
So the first thing that we need to do is to register this account with my Twitter account, so that it uses Twitter’s authentication. So let’s start off by doing that.
First it asks me to sign in.
You can call the application anything you want. I think Twitter just doesn’t allow you to use the term ‘Twitter’ in the application name itself. So I’m giving it a name, a quick description.
The website would be your main website.
Just to say the website on which the tweets will be generated. The Callback URL – it gives you here.
So in essence, it’s just the main URL. Sometimes it’ll be a slightly tweaked URL with some parameters on them such as ‘call back equals’ and then there’ll be some value there. In this instance, it’s just the main generic URL.
Read and agree to the Rules of the Road.
And then complete the CAPTCHA.
Okay, so the application is now set up. And slightly down the page, I’m given a number of Consumer keys and secret keys that unfortunately you won’t be able to see, because I can’t share them with you, but certainly you will be able to see what they are on the page and how to get them.
So, jumping back to the Twitter Tools. It asks for the Consumer Key and the Consumer Secret. So we’re just going to copy those across.
It then asks for the Access Token and Access Token Secret.
Now you need to make sure the Application is not set to “Read-only” as in order to write messages to your Twitter feed, we’re going to have to have both Read and Write permsissions. So we just go into “Settings”. Scroll down so it’s at “Read and Write”. And then update.
Well, okay. So back in the Twitter Tools, “Connect to Twitter”.
Now we get the message that we’re now connected with the Twitter account.
So, we do want to do this. We want to post every time I put a new blog post out, I want it to add a message to my Twitter account. And we’re going to have “Wordpress”. And we’re going to use a hash tag there just so it gets a bit more exposure.
This is fine.
So “Create a blog post from each of your tweets?” That means do you want to pull each of the tweets in and create a new individual blog post? No we don’t want to do that. What we want is a weekly or a daily digest. So we’re going to ignore that for now. We can ignore this “Category”, we can ignore the “Tag(s)”.
Give Twitter Tools a credit is absolutely fine.
Aha. Then we go to the “Experimental” which is where we can set up the digest. So we don’t want to create a daily digest because I don’t tweet that much, but certainly a weekly one would be great. And we can see “Create at 9 minutes past 12 on a Sunday”. That sounds fine for me.
The title, that looks good enough. And the order of the tweets, that also seems to make sense.
So I’m going to click on “Update Twitter Tools Options”.
And there we have it. What should now happen is that every week, the past seven days’ worth of tweets will be pulled in and a new blog post will be created. Likewise, when I release a blog post such as this, my Twitter account will automatically be updated with its title and link through to the new post.