mercredi 19 juin 2019

How to Integrate Instagram API (Feed) in Laravel 5.8?

I wanna integrate Instagram API in Laravel 5.8. But I don't know well about it. So I followed the tutorial "How to Integrate Instagram API (Feed) in Laravel 5.4" of YUTV. (https://www.youtube.com/watch?v=g16aY_SdBfs) But I made the error. My Laravel project version is 5.8. If there is a developer who integrates Instagram API in Laravel 5.8, please help me.

1) First install Laravel 5.8

2) Install instagram in Laravel

Run this command in cmd.

$composer require vinkla/instagram 6.0

3) Create a contrller and copy the following code (InstagramController.php)

<?php

   namespace App\Http\Controllers;

   use Illuminate\Http\Request;
   use Vinkla\Instagram\Instagram;

   class InstagramController extends Controller

   {

   public function instagramFeed()

   {

    $instagram = new Instagram();

    $instagrams = $instagram->get('bing495989');


    return view('instagram', compact('instagrams'));

   }

  }

enter image description here

Error: "The user [bing495989] was not found."

why?



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2XZOojx
via IFTTT

Aucun commentaire:

Enregistrer un commentaire