Title: API Key Error due to Incorrect phpFlickr usage
Last modified: April 15, 2021

---

# API Key Error due to Incorrect phpFlickr usage

 *  [darkfish.caver](https://wordpress.org/support/users/darkfishcaver/)
 * (@darkfishcaver)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/api-key-error-due-to-incorrect-phpflickr-usage/)
 * The shortcode results in “Flickr API error: Invalid API Key (Key has invalid 
   format)”. This is because of missing ‘secret’ key from both settings page and
   the way a new object of phpFlickr class is instantiated.
 * To fix this, a new field on the settings page is required for ‘secret’ as well
   that being used in instantiation of phpFlickr class.

The topic ‘API Key Error due to Incorrect phpFlickr usage’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/flickr-justified-gallery_7b786b.svg)
 * [Flickr Justified Gallery](https://wordpress.org/plugins/flickr-justified-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flickr-justified-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flickr-justified-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/flickr-justified-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flickr-justified-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flickr-justified-gallery/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Secret](https://wordpress.org/support/topic-tag/secret/)

 * 0 replies
 * 1 participant
 * Last reply from: [darkfish.caver](https://wordpress.org/support/users/darkfishcaver/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/api-key-error-due-to-incorrect-phpflickr-usage/)
 * Status: not resolved