Configure recent tweets
Recent tweets are presented in Ninzio themes as shortcode and widget. You can put recent tweets in content area and also in widget areas. But both recent tweets widget and recent tweets shortcode needs to be configured correctly to work. The most important configuration of this element can be found in Apperiance >> Theme Settings >> Social.
This option group gives you control over social elements in your website. First option is recent tweets customization. To get configuration options you need to create a twitter app and get twitter API attributes. Don’t panic, we are going to cover this process step by step.
- Visit the Twitter Developers Site http://dev.twitter.com
- Sign in with your Twitter Account
- Go to “My Applications”
Once you’re logged in, click on the downwards arrow to the right of your Twitter image and select My Applications. This is where all your registered Twitter apps will appear. Create a New Application. If you are new to the Developers site you won’t see any applications registered. wither way, it’s time to create our first application. To do this, click on the big Create a new application button.
Fill in your Application Details. It’s been easy so far, but this screen often makes people confused. Don’t worry, it’s a lot easier than you think. First of all you need to give your app a unique name(one that no one else has used for their Twitter app). Since we’re going to create app for personal use and not one that other people can register and use, just put your domain name in or perhaps even your name. You don’t have to worry much about the description“ you can change this later. Put your website in the website field“ don’t worry that it isn’t (as Twitter ask) your application’s publicly accessible home page. However, this website will be where your app is hosted. Ignore the Callback URL field. Once you’ve done this, make sure you’ve read the “Developer Rules Of The Road” blurb, check the “Yes, I agree” box, fill in the CAPTCHA (don’t you just love them) and click the “create your Twitter Application” button. Hurrah!
If entered values are valid you will be taken to your oAuth settings page, were you can get your consumer key and consumer secret, ignore other information. We now need to authorise the Twitter app for your Twitter account. To do this, click the “Create my access token” button. This takes a few seconds, so if you don’t see the access tokens on the next screen, you may have to refresh the page a few times.
This access token will allow your Twitter application to read Twitter information. Once you’ve seen your access token and access token secret copy them and paste in appropriate text fields in option panel. The last two things that you need to do is provide twitter user ID to display tweets and numver of tweets to display. To get twitter user ID just copy username from url and paste it (example https://twitter.com/tutsplus copy tutsplus).