Search code examples
djangofacebookweb-servicesdjango-piston

webservice + facebook-connect


I'm working on a project that consist in an IOS App and a webservice written using django-piston. Right now I'm using basic HTTP Auth use the webservice. Any idea of how can i integrate facebook connect to authenticate users to use the webservice?

Regards, Emmet


Solution

  • It depends on if you want to authenticate from your iOS app or your web service.

    For the iOS app, you can use the iOS SDK: http://developers.facebook.com/docs/reference/iossdk/authentication/

    If you authenticate from here, you should be able to get an authentication token via HTTP if you need to grab information on your web service. If you post more details I'll try to address them.