Download the PHP package wallrio/instafeed without Composer
On this page you can find all versions of the php package wallrio/instafeed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package instafeed
instaFeed
captures instagram user posts
Installation
It's recommended that you use Composer to install Directly.
Usage
Capture data from account
To capture information and publications from a user use the Profile class with the get
- $profile->username(USERNAME_OF_USER);
- $profile->get(CALLBACK_OPTIONAL);
Example
Use cache
- $profile->useCache = true;
- $profile->cache->dir(DIRECTORY_OF_CACHE); (optional)
if method '$profile->cache->dir' is omitted, the directory will be the temporary directory (/tmp/instaFeed).
run callback if instagram feed has updated
Clean cache
-
$profile->cache->clear(TIME_TO_CLEAN);
- TIME_TO_CLEAN: is optional and allows as string or integer value.
- integer: the integer will be defined per second.
- string: enter a number and a letter referring to the specification of days, hours, minutes, and seconds.
Example of time:
Example implementation:
License
The instaFeed is licensed under the MIT license. See License File for more information.
All versions of instafeed with dependencies
PHP Build Version
Package Version
No informations.
The package wallrio/instafeed contains the following files
Loading the files please wait ....