I’m working on project and I’m trying to integrate a photographer’s Flickr account with his WordPress website. The idea is to sync the WordPress website with his flickr.
I’m using the Flickr API to get his picures URLS, descriptions, tags and sets and display everyting. The problem is that for every visit I have to go through the whole API response and parse it. Have to extract all the links, tags, descriptions etc.
I’m looking for a way to “import” this API response (XML or JSON) to the wordpress database and work with this data. I’ll just have the option to update the database (or maybe just a table on the database) once he updates something on his flickr account. This update doesn’t need to be automatic.
The following is just a proof of concept and creates a menu item in the dashboard with the results of the Flickr API response.
I’ll leave the manipulation of these results to the reader.
Suggestions:
WordPress StackExchange is full of nice snippets and techniques.