WordPress.org

Ready to get started?Download WordPress

Forums

Instapress
"access_token" X "client_id" (2 posts)

  1. Cristiano
    Member
    Posted 2 years ago #

    Hi friends,

    I´m trying to use the plugin but, althought my server providers says my OpenSSL is activated, I continue getting the "Fatal error: Uncaught exception 'Zend_Http_Client_Adapter_Exception' error...

    I realized that the problem is just with th OAuth, but I think I don´t need authentication to do what I want. I just want to show a #tag feed, and the Instagram API docs says that you can do it without authentication, with the "client_id".

    I underestand that for the plugin porposes, its better to use OAuth and don´t ask the user to create an application on Instagram API, but is there a way to change it?

    On the file "instagram.php", the code to get a tag feed is:
    'tags' => 'https://api.instagram.com/v1/tags/%s?access_token=%s'

    But it could use something like this:
    'tags' => 'https://api.instagram.com/v1/tags/%s?client_id=%s'

    Any help??
    Thanks!

    http://wordpress.org/extend/plugins/instapress/

  2. Cristiano
    Member
    Posted 2 years ago #

    This is the request I need:

    https://api.instagram.com/v1/tags/{my-tag}/media/recent?client_id={my-client_id}

    I tested it in the Instagram API Console and it returns the right informations... note that it doesn´t use access_token...

    http://instagram.com/developer/api-console/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic