Flickr is updating their api to be all SSL all the time. After june 27th all non-SSL requests will return a 403 status code. More info here: http://code.flickr.net/2014/04/30/flickr-api-going-ssl-only-on-june-27th...

I would recommend updating the url in line 9 of media_flickr.module in the latest dev version.

change this:
define('MEDIA_FLICKR_RESTPOINT', 'http://api.flickr.com/services/rest/');

to this:
define('MEDIA_FLICKR_RESTPOINT', 'https://api.flickr.com/services/rest/');

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikehues’s picture

Issue summary: View changes
mikehues’s picture

steinmb’s picture

Status: Active » Reviewed & tested by the community

Simple oneliner that fixed the 403 returned from the API

aaron’s picture

Status: Reviewed & tested by the community » Fixed

  • Commit 03fe353 on 7.x-2.x by aaron:
    Issue #2283557 by mikehues: Flickr API Going SSL-Only on June 27th, 2014
    
steinmb’s picture

Ahhh aaron++ :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

steinmb’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
Category: Feature request » Bug report
Priority: Normal » Critical
Status: Closed (fixed) » Needs review
FileSize
988 bytes

Just realized that this did not make it into 7.x-1.x/6.x. This is rolled for 7.x-1.x

clau_bolson’s picture

Why this fix doesn't work in drupal 6?

steinmb’s picture

Why should it? It is a different generation and version of this module. Here is patch that should work *untested* on media_flickr 6.x.

steinmb’s picture

@clau_bolson Did you test the D6 patch?

juan_manuel’s picture

@steinmb thanks for your help!

Your patch has a lot of sense, but it hasn't worked for me, I really don't know why.
I tried the fix with 6.x-1.x-dev and 6.x-1.12, with no luck.
any additional idea?

thanks in advance!

steinmb’s picture

@juan_manuel Perhaps your installation also have other issues? That been sad, the patch is untested on 6.x-1.x-dev. But then again it is a simple back port of what was needed in the 7.x-branches. Could you be a little more specific about what is not working and have a look inside your logs when trying log embed/load a flickr image?

quchidru’s picture

Still works in drupal 5 Embedded Image Field 5.x-1.12 but I ported the site to
Drupal 6 Embedded Image Field 6.x-2.6 and Media: Flickr 6.x-1.12 and
I have same problem - not working error 403
I'm gonna try 6.x-1.x-dev and cURL HTTP Request
Let you know if any luck

steinmb’s picture

This should fix the issue with D6, I actually even tested this ;)

quchidru’s picture

To be applied to 6.x-1.12 or
the 6 dev?
thx

steinmb’s picture

Applies against 6.x-1.x (dev).

quchidru’s picture

Groovy!
It worked!
thx a LOT!

steinmb’s picture

Status: Needs review » Reviewed & tested by the community
elstudio’s picture

The patch in #8 works great for 7.x-1.x.

+1 for RTBC for 7.x-1.x.

  • steinmb committed 3ba2750 on 7.x-1.x
    Issue #2283557 by mikehues, steinmb: Flickr API Going SSL-Only on June...

  • steinmb committed 371657d on 6.x-1.x
    Issue #2283557 by mikehues, steinmb: Flickr API Going SSL-Only on June...
steinmb’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in all branches commit: 03fe353 3ba2750 371657d

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

aiphes’s picture

applied patch #15 on 6.x-1.12 but still black square instead of the flickr gallery..do i apply others patchs too ?
i patch manually because netbeans can't do it itself so i patch 2 files.

EDIt: issue happen on iron, on FF or IE11 it's working after patching the latest dev version