Directory / plugin

Full Twitter Integration

v1.0.0 ยท by agrimbautomas

Display any kind of tweet with just a few simple steps and no programming skills

About this plugin

Getting Started

With this plugin you will be able to display tweets all around your site with just a few simple steps. You don’t need any programming or technical skills for this.
Trust me, it’s really simple ๐Ÿ˜‰

Just choose where do you want to display the tweets.

Will they be in a Widget? In a post content? Or in your code?

Display tweets in a widget, couldn’t be easier

Simple as any other WordPress Widget, just go Appearance>Widgets and choose the most suitable FTI Widget for you, or choose them all!

You will be able to set the Number of tweets to display, and the option to hide/show the User profile image and the Tweets images.

Tweets in your content, just add a shorcode

Use the WordPress Shortcodes to display the tweets on your Posts/Pages and filter them as you wish. Set a Hashtag or a Username and set the values (optional) to customize the Tweets. Just add the Shortcode to your post/page content and that’s all!

This shortcode sample will display PearlJam’s Tweets with their profile images and limit them to 5.
[fti-list username=”PearlJam” limit=”5″ profile_image=”true”]

And here it’s getting Tweets with the hashtag “#Wordpress” including the images content of each and with a medium size.
[fti-list hashtag=”Wordpress” images=”true” images_size=”medium”]

Shortcode parameters

  • hashtag (Required) – [yourHashtag] Default: none.
  • username (Required) – [aTwitterUserName] Default: none.
  • images (Optional) – [true/false] Default: false.
  • images_size (Optional) – [thumb/small/medium/large] Default: thumb.
  • profile_image (Optional) – [true/false] Default: false.

Display Tweets in your code

We have a really simple API to get the tweets you want in your code. Customize the parameters and get an Array with the Tweets (objects).

These are our functions:

  • get_tweets_by_hashtag($hashtag, $limit)
  • get_tweets_by_user($user_name, $limit)
  • get_user_tweets($user_name, $limit)
  • get_timeline_tweets($user_name)
  • get_user_data($user_name)
  • get_my_data()

The $user_name should be the Twitter screen name, the one with @. Eg: PaulMcCartney

Plugin tags