I am making an API in NodeJS that 'll be used by a website and iPhone native app at the same time.
It is supposed to authorize user using LinkedIn API. How can I do that with NodeJS API when iPhone native app is working on other end.
Take a look at passportjs.org
You should be able to do what you need with this library.
Related
I'm trying to have my html5 site open the native iPhone Facebook app to authenticate users.
The site currently uses OAuth 2 on the server side - so it redirects everyone to the web version of Facebook. This is a problem because I dont want to force people to log in on a tiny keyboard.
Can you get the html5 app to open in Safari and authenticate through the native FB app?
If this is not possible with Facebook is it possible with Twitter apps? What is the experience like on android?
I do know that you can authenticate between a native iPhone app and the native Facebook app.
Yes you can do this just use the boilerplate code in facebook developers section of the site and following the guide exactly... I have tried this and it worked for me you just need to find a way to connect your oAuth to this...
I'm designing an iPhone/android app which needs user to login using his/her facebook account.
The app uses GAE (Google App Engine) as the background server, so the problem now is that I don't know how GAE, iPhone and Facebook authentication works.
My guess is user login FB from iPhone and will get an access_token, and then the iphone app sends the access_token to GAE so that GAE can recognize the user.
Is that correct? Or is there any tutorial about how to cooperate between these platforms?
Thanks!
Take a look at the LeanEngine open source project. It was designed to do exactly what you are trying to do - login from a mobile device to GAE with Facebook or OpenID account (and sync data between the client and GAE).
It consists of a preprogrammed GAE application and libraries for Android and iOS and if you are satisfied with the built-in functionality you really do not need to do any modifications to the server part. You can just use it as it is.
I have a web app that has standard user model information. I am building an iPhone app to communicate with the endpoints in my current web app to authenticate the user and all the actions he/she can do. What is the standard approach for this? OAuth?
Use a UIWebView or use ASIHTTPRequest.
Create a webservice on top of the web app.. MAke iphone app comunicate through that webservice by parsing the data... And the easiest way to parse is by using this library.. http://sudzc.com/
I have looked at the facebook iphone api and watched the tutorial they offer but an not sure if one needs to have a facebook app as well to be able to connect an iphone app to facebook.
I would like to allow my users to be able to share things on their profile. e.g. set their status from within my iphone app.
How is this done?
Try the Facebook iPhone SDK
--edit--
You need to register your application to use the API.
Authentication Docs
Is there a mechanism to use Facebook Connect to authenticate via a custom developed iPhone application? Would that require embedding WebKit as a browser and using the authentication there?
Here is the official library for it.
http://wiki.developers.facebook.com/index.php/Facebook_Connect_for_iPhone
edit https://developers.facebook.com/docs/guides/mobile/#ios