Discussion Forums  >  Uncategorized

Replies: 5    Views: 217

themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
01/11/12 01:45 AM (14 years ago)

flickr working for ios but not for android.

using the gallery option in tabbed homescreen i got the data on http://api.flickr.com/services/rest/?method=flickr.people.getPhotos&api_key=5fa63681c7c5c9505be8a15e55f45199&user_id=74011807@N02&format=json&auth_token=72157628809450313-0a7119da1186f1f4&api_sig=2f088aa69079857ac8794cd6ff725667 it works flawlessly on a iphone. but on a android device when i go to the gallery it stops the application unexpectedly. how can i make it work for android? anybody can help me out?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
01/11/12 02:26 AM (14 years ago)
Hi Themc, Don't know if you changed something but when I try to view this link in normal browser this is the message I get: jsonFlickrApi({stat:fail, code:98, message:Invalid auth token}) Don't know about Android but search this forum for the gallery and see if more people are having problems. Best Regards, Danny
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/11/12 02:38 AM (14 years ago)
thats right i saw it just a few seconds ago, i changed the link (is it possible the auth token changes daily?) its now http://api.flickr.com/services/rest/?method=flickr.groups.pools.getPhotos&api_key=4dc1b3aaeae3eaea69d3e762d9c72600&group_id=1886578%40N23&format=json&auth_token=72157628820772143-229a644ebb9c42b4&api_sig=8354019c66a0be06644a2c5bb744e6ae and still working on iphone but not on android. :( can you help me out?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
01/11/12 02:50 AM (14 years ago)
Hi Themc, I'm sorry but I have limited skills and totaly no Android skills. Maybe someone else will come up with some help. Best Regards, Danny
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
01/11/12 03:06 AM (14 years ago)
Hi Themc, Strange!!! When I use your url in the browser it give me json output. When I use this/your url in the gallery plugin (screen Data Url) it gives me an error. Tried another url in the gallery plugin(api from flickr as stated in the documentation: how to add images from Flickr) it works flawlessly. Btw iphone Best Regards, Danny
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/13/12 12:52 AM (14 years ago)
quick update. its possible to make a private call using the get group photo options from the flickr api and sign as .... with full permission but that only last for a day. (because the user api key is only valid for 24 hours)so i tried to generate a md5 signature and created a token from my application key. i now have the signature and the auth token but im still stuck. i posted on the flickr forums and currently await a response. if i know more ill post it here (and if it is possible to create a private key in anyway ill let you all know)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.