https://github.com/dylanblokhuis/wp-no-bloat-instagram-feed
WordPress plugin to access your Instagram feed easily through a single php function
https://github.com/dylanblokhuis/wp-no-bloat-instagram-feed
Last synced: 2 months ago
JSON representation
WordPress plugin to access your Instagram feed easily through a single php function
- Host: GitHub
- URL: https://github.com/dylanblokhuis/wp-no-bloat-instagram-feed
- Owner: dylanblokhuis
- License: gpl-3.0
- Created: 2022-10-31T10:37:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T08:47:35.000Z (over 2 years ago)
- Last Synced: 2025-01-11T17:53:20.398Z (4 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# No Bloat Instagram Feed
Access your Instagram feed easily through a single php functionGo to "Settings > Instagram Feed" and read the instructions. Your access token will be refreshed automatically and instagram feed will be cached with transients.
```php
$feed_items = nbif_get_instagram_feed();
// $feed_items is an array of objects with the following properties:
// $item->id
// $item->caption
// $item->media_type
// $item->media_url
// $item->permalink
// $item->timestamp
// $item->username```