Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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/');
Comment | File | Size | Author |
---|---|---|---|
#15 | media_flickr-api_ssl_only-drupal-6-2283557-14.patch | 1.96 KB | steinmb |
#10 | media_flickr-api_ssl_only-drupal-6-2283557-9.patch | 463 bytes | steinmb |
#8 | media_flickr-api_ssl_only-2283557-8.patch | 988 bytes | steinmb |
#2 | media_flickr-api_ssl_only-2283557.patch | 491 bytes | mikehues |
Comments
Comment #1
mikehues CreditAttribution: mikehues commentedComment #2
mikehues CreditAttribution: mikehues commentedComment #3
steinmb CreditAttribution: steinmb commentedSimple oneliner that fixed the 403 returned from the API
Comment #4
aaron CreditAttribution: aaron commentedCommitted to http://drupalcode.org/project/media_flickr.git/commit/03fe353.
Comment #6
steinmb CreditAttribution: steinmb commentedAhhh aaron++ :)
Comment #8
steinmb CreditAttribution: steinmb commentedJust realized that this did not make it into 7.x-1.x/6.x. This is rolled for 7.x-1.x
Comment #9
clau_bolson CreditAttribution: clau_bolson commentedWhy this fix doesn't work in drupal 6?
Comment #10
steinmb CreditAttribution: steinmb commentedWhy should it? It is a different generation and version of this module. Here is patch that should work *untested* on media_flickr 6.x.
Comment #11
steinmb CreditAttribution: steinmb commented@clau_bolson Did you test the D6 patch?
Comment #12
juan_manuel CreditAttribution: juan_manuel commented@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!
Comment #13
steinmb CreditAttribution: steinmb commented@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?
Comment #14
quchidru CreditAttribution: quchidru commentedStill 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
Comment #15
steinmb CreditAttribution: steinmb commentedThis should fix the issue with D6, I actually even tested this ;)
Comment #16
quchidru CreditAttribution: quchidru commentedTo be applied to 6.x-1.12 or
the 6 dev?
thx
Comment #17
steinmb CreditAttribution: steinmb commentedApplies against 6.x-1.x (dev).
Comment #18
quchidru CreditAttribution: quchidru commentedGroovy!
It worked!
thx a LOT!
Comment #19
steinmb CreditAttribution: steinmb commented#2308013: Flickr embeds not working anymore? also confirm that #15 works.
Comment #20
elstudio CreditAttribution: elstudio commentedThe patch in #8 works great for 7.x-1.x.
+1 for RTBC for 7.x-1.x.
Comment #23
steinmb CreditAttribution: steinmb commentedFixed in all branches commit: 03fe353 3ba2750 371657d
Comment #25
aiphesapplied 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