oAuth Twitter Feed for Developers Plugin WordPress, Download, Install

Twitter API 1.1 compliant plugin that provides a function to get an array of tweets from the auth'd users Twitter feed for use in themes.

oAuth Twitter Feed for Developers Download Now

Download Now

(If the link does not work)↓

Originals Link WordPress.org

https://wordpress.org/plugins/oauth-twitter-feed-for-developers/

How to Install oAuth Twitter Feed for Developers Plugin, Manually

Install the plugin using the plugin manager, or upload the files to your wp-content/plugins directory.

Navigate to the Settings > Twitter Feed Auth.

Here you’ll find settings fields to authenticate with Twitter. You’ll need to create a new Application on http://dev.twitter.com/apps.

Once you’ve create the app, scroll down the app’s details page to find the oAuth section. Copy the consumer secret and consumer key into the settings page for the plugin. Then click the Create Access Token button at the bottom of the Twitter app page. Copy the Access token and Access token secret into the plugin’s settings page. Finally, enter the Twitter username of the feed you want to access. Save the settings.

Now, anywhere in your theme files you can call the getTweets() function to retrieve an array of tweets.

You can then loop over the array and do whatever you want with it.

`<?php   $tweets = getTweets($number_of_tweets, $twitter_screenname_to_load, $optional_array_of_any_additional_twitter_api_parameters);   var_dump($tweets);    foreach($tweets as $tweet){     var_dump($tweet);   } ?>` 

You can specify a number of tweets to return (up to 20) by passing a parameter to the function. For example, to display just the latest tweet you’d request getTweets(1)

The following default options are used unless you override them in the optional array of additional parameters.

  • Trim the user object (“trim_user” => true)
  • Exclude replies (“exclude_replies” => true)
  • Exclude retweets (“include_rts” => false)

Results are cached for 1 hour (by default) to help you avoid hitting the API limits.

Video

Plugin Not Working?

If any errors or problems with the plug-in then write comments.

Add a Comment

Your email address will not be published. Required fields are marked *