Extension talk:FlickrAPI

Private Photos
The extension appears not to work for photos that have been designated "private" on Flickr (that is "only visible to you"). I can successfully use the extension to embed public photos, but when I try to embed a photo that is private I get the following error: "Flickr Error ( Photo not found ): PhotoID {id}." Any help here would be appreciated.

I think, if a photo is declared private, one should take this declaration serious.--&#91;&#91;User:Bmrberlin&#124; Bernd M.&#93;&#93; (talk) 05:35, 15 May 2015 (UTC)

Good IDs not being found?
✅

Hi, I am trying to get to show a sample image, which is public domain and public. Yet, I always get the "Flickr Error ( Photo not found ): PhotoID" message! Either I've made a stupid mistake, or there's something wrong in general. What to do? see the error here this is the image I'm trying to call


 * I've tested this ID on my server and it works. So there is something wrong with your installation of the extension or your flickr API. Please take a look at your parameters. May be, the flickr format is necessary and missing. --&#91;&#91;User:Bmrberlin&#124; Bernd M.&#93;&#93; (talk) 09:37, 18 May 2015 (UTC)


 * Thank you for letting me know this: I checked well and there was actually a small mistake in localsettings file :) All great now, thanks again, much appreciated.

Now there is definitely a problem
✅

Hi, I am trying to use the extension, but not very successful. Checked everything and it seems as per your instructions. Then I noticed that in your own manual all images have the same error. Maybe Flickr changed the API? (User:sorin.sfirlogea) 15:15, 25 August 2015 (UTC)
 * The site you referenced uses a different extension, but it is posted as a reference since it uses the same syntax. I am seeing that this extension works fine on other sites. If you have a live example, I'll take a look. --Ike @ WikiWorks 00:16, 27 August 2015 (UTC)
 * Now it works. Don't get it what was wrong initially. Thanks, anyway.

Some strange behaviour
Every once in a while, especially after saving some edits of the page, the FlickrAPI extension behaves strangely. It returns a wrong formated HTML that looks like this:

In other words, the output is delivered and displayed twice: once before the HTML document and once in its right place, within the HTML document. Any idea why this happens? When refreshing the page it returns to normal. There is no cache mechanism and the browser cache is not the explanation, I've already checked.

Some context: client = Chrome 45.0.2454.85 (64-bit) on Ubuntu 14.04

Update
✅

I'm updating this to use extension registration and not use a git submodule. See T171819. Sam Wilson 08:03, 27 July 2017 (UTC)
 * Thank you very much @Sam. If you need review assistance, you can add me (gerrit:D3r1ck01) as reviewer. Thank you! --X-Savitar (talk) 19:16, 6 July 2021 (UTC)
 * @Sam, I see that the task has already been resolved. Thank you very much! --X-Savitar (talk) 19:19, 6 July 2021 (UTC)
 * no worries! —Sam Wilson 00:02, 7 July 2021 (UTC)

Strange problem where 'linkage' to Flickr is created but no image displayed in MediaWiki
Hi! I followed the documentation to install and configure but strangely no image shows in the wiki at all—just a gray box with the caption. Interestingly there is a little link (with the two tiny rectangles) to the right of the caption that does indeed click out to the Flickr website page for the focal photo. So the link up with Flickr using the $wgFlickrAPIKey parameter is working but no embedded image is visible in the wiki itself. Any thoughts? --Flyingratchet (talk) 03:50, 17 March 2022 (UTC)


 * here's an example of the snippet I'm using in the wiki on the off chance that it's useful
 * Flyingratchet (talk) 03:57, 17 March 2022 (UTC)
 * Here's my versions
 * MediaWiki1.37.1
 * PHP7.3.33 (litespeed) Flyingratchet (talk) 16:34, 17 March 2022 (UTC)
 * Thanks for reporting @Flyingratchet, we're tracking this to find out what the issue might be.
 * Are there any errors in the JS console of your browser? If there are, pasting them here will be of great help. Thanks! -- X-Savitar (talk) 15:09, 30 March 2022 (UTC)