Pergunta

I am following the iTunesU lecture of stanford cs193p class, and I am on assignment 4 right now. After I entered the API key in the header file and try to log the returned array to the console, it shows that it is an empty array with nothing in it. Is the code provided not working anymore since there has been changes to the flickr API?

The FlickrFetcher class code can be accessed here: http://www.stanford.edu/class/cs193p/cgi-bin/drupal/system/files/assignments/FlickrFetcher.zip

Thanks a lot!

Foi útil?

Solução 2

I just tried it with my Flickr key and it works. I called it like so:

NSLog(@"%@", [FlickrFetcher topPlaces]);

By the way, you are doing the Fall 2011 version of the course which is iOS 5 based. There is a new Winter 2013 version of the course which is iOS 6 based which can be found here:

https://itunes.apple.com/us/course/coding-together-developing/id593208016

Outras dicas

As of June 27, 2014, all the http's are required by flickr to be changed to https

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top