Skip to content

Instantly share code, notes, and snippets.

@ericrallen
Last active January 3, 2016 01:59
Show Gist options
  • Select an option

  • Save ericrallen/8393004 to your computer and use it in GitHub Desktop.

Select an option

Save ericrallen/8393004 to your computer and use it in GitHub Desktop.

Revisions

  1. ericrallen revised this gist Jan 13, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Developer Instagram Feed Output
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    <?php if(function_exists('DIF_get_user_images')) {
    $test = DIF_get_user_images(3);
    $test = DIF_get_user_images($user_id); //replace $user_id with the ID of the user you'd like to get the feed for

    if($test) {
    foreach($test as $image) {
  2. Eric Allen created this gist Jan 13, 2014.
    13 changes: 13 additions & 0 deletions Developer Instagram Feed Output
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <?php if(function_exists('DIF_get_user_images')) {
    $test = DIF_get_user_images(3);

    if($test) {
    foreach($test as $image) {
    echo '<pre>';

    print_r($image);

    echo '</pre>';
    }
    }
    } ?>