A long time ago I wanted to write a desktop GUI interface for Flickr. At the time I had just learned Java and thought it would be really cool to write it using swing. Little did I know how not cool working with swing would be 🙁
About halfway through the project I heard about a cool new dynamic way to write Java code called Groovy. From that day on Groovy has been making my life a whole lot easier. I didn’t need all the functionality in the flickrj library, so I decide to write a few methods for my app using Groovy. The hardest part of the whole thing was figuring out how to post images to Flickr, for that, I used the flickrj code as a reference. If that source code was not available, I don’t think I would have ever figured it out. So a big thanks to all the folks working on that project!
This is not a complete API for Flickr, but should provide enough to get started.
Link to my GitHub Repo
Quick question. I couldn’t figure out how to authenticate the app? Thanks
You will want to work through the directions
http://www.flickr.com/services/api/misc.userauth.html
I was developing for a desktop app and took three steps
public void authNewUser() {
constructFrobUrl()//flickr.auth.getFrob
createAuthURL()
//used os to open browser to the URL
“open http://flickr.com/services/auth/?api_key=“+ this.akey + “&perms=delete” + “&frob=” + this.frob + “&api_sig=” + this.sig
getToken()//flickr.auth.getToken
}