Provided an updated patch. The description about this patch can be found here<https://docs.google.com/document/d/1iilj8_xapqJZlRWYKatBqbIpwRBjXSuhGXWshLYcsNg/edit>. This achieves Flickr Integration. As suggested by Luciano, UI will be designed according to Prabhath's new design.
It should also be noted that since Flickr's Old Auth method is being deprecated, I have made the authentication using OAuth 1.0 which is the new standard at Flickr. Regards On Fri, Jul 20, 2012 at 1:50 AM, Luciano Resende <luckbr1...@gmail.com>wrote: > On Thu, Jul 19, 2012 at 11:58 AM, Bhargav Golla <bhargav.go...@gmail.com> > wrote: > > Hi Luciano, > > > > From what I understand from the repo you have provided, it gets Public > > photostream of a user. > > But, I am trying to authenticate a user and display his private (visible > > just to him) photos as well. > > > > For the same, I have obtained an API key from Flickr and am using it to > get > > a Frob as suggested in Authentication flow > > here<http://www.flickr.com/services/api/auth.howto.desktop.html>. > > I am authenticating that frob by redirecting user to Authentication URL. > > Once, the user comes back to the app, I am passing the obtained frob as a > > parameter and am calling a function to get Token as mentioned in > > Authentication flow. Instead of getting a success, I am seeing an error > > "Invalid Frob" all the time. > > > > But, this time, I tried the Mobile version of the > > authentication<http://www.flickr.com/services/api/auth.howto.mobile.html > >, > > where a user is asked to type a mini-token (which he obtains from > > authentication page) in our app. I successfully got the token required > and > > am able to exchange for a oauth-token and a oauth-secret (this is being > > done as the old authentication method of Flickr is deprecated. Details > > here<http://www.flickr.com/services/api/auth.oauth.html> > > ). > > > > I will try moving along these lines and get the user's photo stream. But > > what disappoints me with this method is that, a user of this app has to > > remember a 9 digit mini-token and enter it once he returns to our app > from > > authentication page. I feel this will make the app go down in terms of > User > > Experience. I will get this done first and then try to see if there is > any > > other method which doesn't require user to remember strings. > > > > Regards > > > > If you provide a patch with the code, and how to reproduce the issue, > someone from the community can help trying to investigate and solve > the issue. > > -- > Luciano Resende > http://people.apache.org/~lresende > http://twitter.com/lresende1975 > http://lresende.blogspot.com/ > -- Bhargav Golla B.E (Hons.) Computer Science BITS-Pilani