Skip to content

Instantly share code, notes, and snippets.

Christian Metz cosenary

  • Munich, Germany
Block or report user

Report or block cosenary

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cosenary
cosenary / README.markdown
Last active Dec 29, 2017
Instagram PHP API - Working example: Load more button (AJAX)
View README.markdown

Instagram PHP API

How to use

This a working example based on the previous posted workflow.
Feedback is as always welcome.

Original project repository: Instagram-PHP-API

index.php file

@cosenary
cosenary / README.markdown
Last active Nov 26, 2015
Instagram PHP API - How to implement a load more button (AJAX)
View README.markdown

Instagram PHP API

How to use

index.php file

Enter your Instagram client id and display the first results.
Then store the next_max_id which you receive if you call:

$media->pagination->next_max_id;
@cosenary
cosenary / success.php
Last active Jul 30, 2018
Instagram PHP API - How to get the most recent media published by an Instagram user.
View success.php
<?php
/**
* Instagram PHP API
* Example for using the getUserMedia() method
*
* @link https://github.com/cosenary/Instagram-PHP-API
* @author Christian Metz
* @since 31.01.2012
*/
You can’t perform that action at this time.