Search Wiki:
LinqDotFlickr.JPG

LINQ.Flickr is a Flickr API that can be used to query (search by tag, literal or user) , insert or delete photos, add/ delete comments, query popular tags, people and more.

Features
- Add/remove photos feature, just like LINQ to SQL objects.
- View single photo (currently , supports , single, first, last for single viewing)
- Automated login process, supported both for desktop and web application.
- Take and Skip methods. Eg. Skip(1).Take(20), means - Page 2, page length 20
- Full text Search by SearchMode.FreeText
- Tag only search by SearchMode.Tags with TagMode := AND or OR.
- Search by user along with SearchText.
- Comments Query, add / delete.
- List of popular tags. (sort them by title or score).
- Query people by NSID or username.
- Order by asc/dsc by Datetaken and DatePosted.
- Anon query projection.
- Query people , by username or nsId
- Query Popular tags, order by score , title or period

Current release 1.3

Authentication
API is responsible for taking user from main app to login process to granting API access and continue where he is left off.

Token Storage
Location where the auth_token is stored , after user returns from flickr site (web app) or closes the browser (desktop app), doing with authentication and granting the app.

Desktop Application - Inside an Xml file. Path is defined by user in app.config
Web application - User cookie, valid for 30 days.

Which means, user will be taken for authentication once to flickr site, when he/she queries private or semi-private photo.

Requirements for using LINQ.Flickr
- .Net framework 3.5.
- API and Secret key. You can get one for free, from http://www.flickr.com/api

Requirements for running mocked NUNIT test
- Typemock isolator
- Run the NUnit GUI using TMockRunner.exe.


Reference
New LINQ proivder for Flickr - http://weblogs.asp.net/mehfuzh/archive/2007/10/28/new-linq-provider-for-flickr.aspx

Also try other posts to get the lastest info.
http://weblogs.asp.net/mehfuzh/search.aspx?q=linq.flickr&o=Relevance

API on which it is built
LinqExtender http://www.codeplex.com/LinqExtender

Application showcase
Flickr MVC - An MVC flickr photo explorer http://www.codeplex.com/flickrviewer

pow_by_linqExtender.gif VerifiedWithTypeMock.png

Last edited Jun 12 at 11:23 AM  by mehfuzh, version 49
Comments
SCMcDonnell wrote  Nov 15 2007 at 9:06 PM  
This is ingenius. Well done.

mehfuzh wrote  Nov 18 2007 at 7:54 AM  
Thanks, nice to see that people liking it.

Lck wrote  Feb 18 at 11:00 AM  
Great idea! :)

Updating...