• Resolved jamesdonegan

    (@jamesdonegan)


    Trying to set up an Instagram gallery. Trying to find the user_id returns a “Bad Request” error, so I just used my client’s instagram username.

    Below is the shortcode it generated, and when the page loads, I get an “Unknown Error” message.

    [gallery type='instagram' view='tag' user_id='karka338' media_id='karka338' tag_name='papercutsbykarenkatz' layout='square' thumb_size='150' max_id='12' ]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Did you set up authentication? You will need to do that first. See here for instructions.

    Bear in mind that Instagram’s authentication is very finicky, so your client has to login, if you are desirous of displaying your client’s photos. The shortcode you have above will not work if you are using your authentication to display your client’s photos.

    Thread Starter jamesdonegan

    (@jamesdonegan)

    Thanks for getting back to me.

    I have done that. I am using her authentication.

    Does it matter that I’m building the site on my localhost?

    • This reply was modified 7 years, 2 months ago by jamesdonegan.
    Plugin Author Sayontan Sinha

    (@sayontan)

    Can you drop the media_id parameter? It isn’t required for what you are doing, and it might be confusing the shortcode.

    Thread Starter jamesdonegan

    (@jamesdonegan)

    Thanks for the help, but sorry — didn’t work.

    Thread Starter jamesdonegan

    (@jamesdonegan)

    The WP plugin installer says that it’s not been tested with my version of WP (4.8.2). Could that be part of it? I really think the promise of your plugin is fantastic and would love to be able to use it for other sites, too. People ask for Insta galleries all the time, now, and I’m not so interested in learning a new API. ??

    Plugin Author Sayontan Sinha

    (@sayontan)

    I apologize – my day job has been way too demanding for me to pay attention to minute details. I didn’t realize that you were unable to fetch the user_id. This is the user id – 17425083. Hopefully this will get you running.

    That being said, why did the “Finder” say “Bad Request”? Unfortunately that is because Instagram is in the habit of springing dirty stuff on its developers.

    Basically there is one issue, which might be a dealbreaker for you: Instagram has refused to grant Photonic’s API any privileges other than “basic”, which really lets people just see their own photos without support for tags etc. This would be fine except for the fact that even a user’s own content that is deemed “public_content” is not visible.

    Try as I might, I haven’t been able to make them budge in a debilitating and frustrating battle. It is like trying to argue with a vegetable – there is no point. This is a showstopper for displaying tags. If you look at the demo site linked above I have outlined this in the documentation. The functionality is built in, but the shortcode invocation reports this due to Instagram’s obstinacy:
    This client has not been approved to access this resource.

    It looks like Instagram has spread its ugly tentacles into the “User Search” feature as well. This used to work fine up until a few months back, but now this too cannot be done by “basic” privileges. I eventually had to find your user id following the trick suggested here, because that site’s search feature too was hit by Instagram’s being an ass about this.

    I suspect that that not getting tags might cause you not to want to use Photonic for your purposes, but I am really helpless in this regard.

    The “not tested” message is unrelated to what you are seeing. As you can see from other support topics here, I have been very active with plugin support, and if there was indeed an issue with 4.8.2 compatibility I would have acted on it quite some time back. There are several sites running the current version of the plugin with WP 4.8.2.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unknown Error’ is closed to new replies.