manifest / unclassified / easy-instagram-feeder
Easy Instagram Feeder
Wordpress plugin to retrieve a user's feed without the need for instagram api credentials
★ 0stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/alexroan/easy-instagram-feeder/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Wordpress plugin to retrieve a user's feed without the need for instagram api credentials.
Installation
- Copy the entire repo into your plugins/ folder
- Activate in wordpress dashboard
Usage
//get feed
$feed = get_instagram_feed('alex_roan');
//loop through posts
foreach($feed as $post){
//Id
$id = $post->id;
//username
$username = $post->username;
//time
$time = $post->time;
//type
$type = $post->type;
//likes
$likes = $post->likes;
//number of comments
$comments = $post->comments;
//text caption
$text = $post->text;
//media
$media = $post->media;
//high res media
$high_res_media = $post->high_res_media;
}