Skip to content

Wordpress plugin to get the twitter feed of any public twitter user without API credentials

License

Notifications You must be signed in to change notification settings

alexroan/easy-twitter-feeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Twitter Feeder

Wordpress plugin to get the twitter feed of any public twitter user without the need for twitter api credentials.

Installation

  • Copy the entire repo into your plugins/ folder
  • Activate in wordpress dashboard

Usage

//get feed
$feed = get_twitter_feed('alexroan');

//loop through tweets
foreach($feed as $tweet){ 

  //tweet id
  $id = $tweet->id;
  
  //username of tweeter
  $username = $tweet->username;
  
  //bool whether retweet or not
  $is_retweet = $tweet->is_retweet;
  
  //body text of tweet
  $text = $tweet->text;
  
  //time tweeted
  $time = $tweet->time;
  
  //any media in tweet
  $media = $tweet->media;
  
  //number of replies
  $reply = $tweet->reply;
  
  //number of retweets
  $retweet = $tweet->retweet;
  
  //number of favourites
  $favourite = $tweet->favourite;
}

Caveats

This plugin depends on twitter front end html, therefore if the front end is updated by twitter this plugin also needs to be updated for it to continue working. When this case arises, create an issue and it will be resolved as quickly as possible.

About

Wordpress plugin to get the twitter feed of any public twitter user without API credentials

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages