Title: Unknown Error
Last modified: September 22, 2017

---

# Unknown Error

 *  Resolved [jamesdonegan](https://wordpress.org/support/users/jamesdonegan/)
 * (@jamesdonegan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/)
 * 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](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/#post-9521159)
 * Did you set up authentication? You will need to do that first. See [here](https://aquoid.com/plugins/photonic/instagram/#auth-setup)
   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.
    -  This reply was modified 8 years, 8 months ago by [Sayontan Sinha](https://wordpress.org/support/users/sayontan/).
 *  Thread Starter [jamesdonegan](https://wordpress.org/support/users/jamesdonegan/)
 * (@jamesdonegan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/#post-9522083)
 * 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 8 years, 8 months ago by [jamesdonegan](https://wordpress.org/support/users/jamesdonegan/).
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/#post-9522101)
 * 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](https://wordpress.org/support/users/jamesdonegan/)
 * (@jamesdonegan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/#post-9522134)
 * Thanks for the help, but sorry — didn’t work.
 *  Thread Starter [jamesdonegan](https://wordpress.org/support/users/jamesdonegan/)
 * (@jamesdonegan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/#post-9522147)
 * 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](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/#post-9523027)
 * 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](https://www.otzberg.net/iguserid/index.php),
   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.
    -  This reply was modified 8 years, 8 months ago by [Sayontan Sinha](https://wordpress.org/support/users/sayontan/).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Unknown Error’ is closed to new replies.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/unknown-error-18/#post-9523027)
 * Status: resolved