Download the PHP package alpanayotov/instagram-helper without Composer

On this page you can find all versions of the php package alpanayotov/instagram-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package instagram-helper

This project is not maintained at the moment.


Instagram Helper

WordPress based library for retrieving and saving data from Instragram.

Requirements:

Important!

If Instagram does not return anything after proper configuration of the code, please read this -- https://www.instagram.com/developer/review/

Capabilities:

How To Use:

Include the instagram-helper.php file in your functions.php. At this point, you need to create a $client using the Factory class. The $client takes care of the authentication process:
$client = Instagram_Helper\Factory::create( 'client', $configuration );

The $configuration array should look like this:

The $client object has the following methods:

Once the authentication is completed, you can pull posts from Instagram. To do so, you need to create a $data_manager object, using the Factory.

$data_manager = Instagram_Helper\Factory::create( 'data_manager', $manager_config );

The $manager_config array is optional. It may, however, contain the limit for the request -- $manager_config = array( 'limit' => 5 ). This will force default limit of 5 entries for all queries.

The $data_manager has the following methods:


Example:


Additional Capabilities:

Posts Storage

Sometimes, you would need to save the data from Instagram for later. In order to do this, you can use a posts_store obejct and it's save() method.

The update_count specifies how many posts, of the already existing posts, should be updated with new information from Instagram ( this one is still work in progress :) )

Carbon Fields Integration

If you are using the Carbon Fields library, you can take advantage of the Carbon_Helper.php class. It must be used in conjunction with the $client object.

The create_options_page() method creates a page in the back end, containing fields for all the information needed by the $client. The $client fetches this information on its own, you do not need to do anything.


All versions of instagram-helper with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package alpanayotov/instagram-helper contains the following files

Loading the files please wait ....