Questions tagged [flickr]

Use this tag for questions about the public API provided by Flickr, a photo/video sharing website Photos are tagged with metadata, such as tags, geolocation, and Exif data, which can all be accessed through the API. (For non-programming questions, contact Flickr customer support.)

Flickr is an image hosting and video hosting website, web services suite, and online community acquired by Yahoo!. In addition to being a popular website for users to share and embed personal photographs, the service is widely used by bloggers to host images that they embed in blogs and social media.

Almost all of the functionality that runs flickr.com is available through the API. The API is available for non-commercial use by outside developers and for commercial use by prior arrangement.

1190 questions
384
votes
10 answers

How to get MD5 sum of a string using python?

In the Flickr API docs, you need to find the MD5 sum of a string to generate the [api_sig] value. How does one go about generating an MD5 sum from a string? Flickr's example: string:…
super9
  • 29,181
  • 39
  • 119
  • 172
51
votes
6 answers

Custom JSON Deserialization with Jackson

I'm using the Flickr API. When calling the flickr.test.login method, the default JSON result is: { "user": { "id": "21207597@N07", "username": { "_content": "jamalfanaian" } }, "stat": "ok" } I'd like…
Moritz Petersen
  • 12,902
  • 3
  • 38
  • 45
35
votes
6 answers

How to get static image url from flickr URL?

Is it possible to get static image URL from the flickr URL via an api call or some script ? For eg : Flickr URL -> http://www.flickr.com/photos/53067560@N00/2658147888/in/set-72157606175084388/ Static image URL ->…
NM.
  • 1,909
  • 1
  • 13
  • 21
27
votes
4 answers

Assertion Failure in UITableViewController

I am taking the iTunes U Stanford iOS Class and am working on one of the assignments to build a little Flickr app. I am getting an error that I cannot seem to be able to debug which comes up as * Assertion failure in -[UITableView…
gsapienza
  • 351
  • 1
  • 3
  • 8
23
votes
5 answers

Cannot Convert System.String to System.Uri

I am using the Web Client Class to download files from the internet (Flickr actually). This works fine as long as I use : WebClient().DownloadData(string) , however this locks up the UI as it is Not asynchronous. However when I try…
dezkev
  • 599
  • 2
  • 7
  • 15
17
votes
4 answers

how to get correct JSON object from flickr API

I used flickr photo search method to retrieve public photos. when I run it with jquery, it works fine, I get the json object in correct form. { "photos": { "photo": [ { ......... } ] }, …
ankitr
  • 5,992
  • 7
  • 47
  • 66
16
votes
2 answers

Flickr JSON returning error in JavaScript cross domain

I have this code and I'm trying to return Flickr API, however I get the following error. Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at …
Adam
  • 1,136
  • 8
  • 26
  • 51
16
votes
1 answer

Google views - get photos details for a region

Looking for a way to mimic Flickr API logic to use Google views. On Flickr I can call the flickr.photos.search method and get all the photos for a specific location like…
Shlomi Schwartz
  • 8,693
  • 29
  • 109
  • 186
15
votes
5 answers

Why do I need a flickr api key?

Reading through the Flickr API documentation it keeps stating I require an API key to use their REST protocols. I am only building a photo viewer, gathering information available from Flickr's public photo feed (For instance, I am not planning on…
Jeff Winkworth
  • 4,874
  • 6
  • 34
  • 33
15
votes
8 answers

Is it possible to create an empty multidimensional array in javascript/jquery?

I am trying to create a very basic Flickr gallery using the Flickr API. What I want to achieve is sorting my pictures by tag. What I am using is jQuery.getJSON() so that I can parse the API response of flickr.photosets.getPhotos. The data I am…
finferflu
  • 1,368
  • 2
  • 11
  • 28
15
votes
5 answers

Decode json string returned from Flickr API using PHP, curl

Im trying to decode a json string returned from flickr within my PHP code. Im using CURL but it keeps returning a string even when I wrap json_decode() around the json sring variable. Any ideas? $api_key = '####'; $photoset_id = '###'; $query =…
Globalz
  • 4,474
  • 6
  • 34
  • 43
13
votes
4 answers

jQuery $.getJSON - How do I parse a flickr.photos.search REST API call?

Trying to adapt the $.getJSON Flickr example: $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=?", function(data){ $.each(data.items, function(i,item){ …
Chaddeus
  • 13,134
  • 29
  • 104
  • 162
12
votes
2 answers

JavaScript library similar to Imagemagick (i.e., resize images and pictures while maximizing picture fidelity)?

We would like to simulate Imagemagick functionality, but only in Javascript. Do any libraries exist? Specifically, the goal is to display thumbnails of images without distorting the thumbnail to the point where it is hardly resembles the original.…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
12
votes
1 answer

Jquery JSON Flickr API Returning Photos in a Set

I am trying to get a specified set from Flickr and then display the images in that set using the JSON and REST API. Here is the code I am using: …
Elliott Bowles
  • 398
  • 1
  • 4
  • 17
12
votes
3 answers

Android: BitmapFactory.decodeByteArray gives pixelated bitmap

I am working on an Android app that displays photos which are downloaded from Flickr. I obtain a bitmap object from a byte array, which in turn is read from the relevant Flickr URL, as follows: BitmapFactory.Options opt = new…
Michael Pedersen
  • 649
  • 1
  • 5
  • 15
1
2 3
79 80