Instagram in Wordpress without Login (without password use)

1

I need to put the instagram in the sidebar of a blog but the user has too much follower and is afraid of losing them and being hacked and so on. I tried to explain, but no way they want to put the password to authorize the plugin. Is there any way I can do this without logging into the user instagram? I looked for several plugins and it was mandatory to log in.

Can anyone help me?

    
asked by anonymous 27.11.2014 / 05:22

2 answers

1

@Eroder, the Instagram API requires a CLIENT ID and a CLIENT SECRET that are provided the moment you create an application. To create an application, you need to complete the following form: link

When you register your app you will have your CLIENT ID and a CLIENT SECRET ready, then you will have to make your requests.

There are vendors like instafeedjs that help you with this, code sample:

<script type="text/javascript">
    var userFeed = new Instafeed({
        get: 'user',
        userId: YOUR_USER_ID,
        accessToken: 'YOUR_ACCESS_TOKEN'
    });
    userFeed.run();
</script>

You will be able to access recent media as you wish if the user does not have a private profile, so you do not need the user to pass the ID and PASSWORD from him to you.

    
06.01.2015 / 04:43
0

Eroder,

I have used an "competitor" of Instagram that displays the images and only a small link on the site. It's called Iconosquare .

There should be a method that displays through the Instagram API , but my API skills are pretty basic.

    
07.12.2014 / 03:41