I read somewhere that Instagram use django-piston. But them some people are saying that Piston has had any development done in over a year.
-m On 23 May 2012 23:12, Roarster <[email protected]> wrote: > On Wednesday, 23 May 2012 13:02:15 UTC+1, bruno desthuilliers wrote: >> >> On May 23, 1:12 pm, Roarster <ianstrachan2...@googlemail.**com> wrote: >> > I'm developing a site using Django using the built in user >> authentication >> > module. This is all working fine and users can register, login, etc. >> on >> > the web site with no problems. The plan is to also have companion >> > iPhone/Android apps where users can register/login and then access >> their >> > data on the main site. This is where I'm a bit unsure of how to >> proceed. >> > I've been looking into using TastyPie to create a REST API which I >> think >> > will work fine for accessing/updating data but I'm not sure if this is >> > appropriate for creating new users and authenticating existing users. >> >> I'm definitly not an expert when it comes to mobile apps, but there >> are quite a few known REST (or XMLRPC or else) APIs around that >> include at least user authentication - think google (including >> youtube, blogger etc), dailymotion, most blogging platforms, etc. >> >> As far as I'm concerned, I'd definitly use the API for authentication >> too (possibly using OAuth). wrt/ registration, well, I have not >> checked if any of the above APIs support this, but from your Django >> app's POV, it's still all about HTTP requests / responses anyway so >> well... >> >> My 2 cents, really.. > > > Thanks Bruno. I've had a bit more of a look into this and everyone seems > to be using OAuth, as you mention. I did try to get this working with the > Tastypie API but I couldn't really find any documentation and found it a > bit of a struggle. I guess I'll have to look into this further. > > I've also looked into the public APIs you mention and none of them seem to > allow registration (at least not on the public API). I guess since my API > will be private (at least initially) I can do what I want, I was just > hoping to find out what some other well used apps (e.g. Instagram) might > use for communication. Do you think it's possible they just have another > REST API they don't disclose? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/68UDvibDrpAJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

