I want to implement Youtube login authentication in my application. Is there any api that allows this, that I can implement? If so, where could I find it and how would I go about implementing it? I searched a lot but haven't found any solution. If possible, please provide code also.
You can use Objective-C Client.
Here are few samples.
In iOS you need to do the OAuth2 using WebView.
Here's a great explanation talk.
Related
I did a bit of R&D for twitter integration in our application. Requirement is to create a twitter poll from my custom application.
As per my research there is no any SDK or twitter API available to do this. Still, wanted to confirm, it is possible? Am I missing something?
If anyone having knowledge regarding this, then kindly share with me.
Thanks in Advance!
I'm not sure if it's possible. I'm currently developing an app the stores password (like a password manager). One of its features is to allow user to make an auto login to a web browser of that device. I was able to make it work using UIWebView and WKWebView but can't find a way to make it work using SFSafariViewController. I read few documentations and blogs about it and even read the SFSafariViewController.h but there's no clue in there that can lead me to the function that I wanted. I want to know how to do a "evaluateJavaScript"-a-like function in SFSafariViewController or if its not possible, do you guys have other suggestions on how to achieve this?
Note: I'm using Objective-C.
Thanks in advance!
Happy coding!
SFSafariViewControllers are sandboxed. As they are essentially Safari, and have access to cookies. It would be a security risk to allow any app to access these.
However, if the web-service you want the user to sign in to is yours, you can setup a API and a custom URL scheme.
Follow this documentation.
If you are trying to store passwords etc from sites you don't maintain then unfortunately, this is not possible using the SFSafariViewController.
Hope this helps,
Liam
I am trying to use FitBit api in iOS application. I have a fitbit device and I am trying to create an iOS app that connects with the FitBit api and gets my data back. I am trying to implement OAuth2.0. I already have the client ID but I have been stuck. I am not sure how to proceed with this. I have read the documentation on how OAuth works and how fibit works with OAuth2.0 . My problem is I don't know how to open the fibit api authenication by the user, and how to get the access token. How do I proceed after getting the access token.
I am a noob to this, so I would appreciate if somebody can guide me how to go with that. If someone can guide me to similar projects it will be awesome.
Thanks
Implementing OAuth isn't a simple task. I started with Christian Hansen's OAuth Example and modified it to work for my project (his is for Google, but it can be changed to work with FitBit or anything else).
You can also check out one of the many OAuth Client wrappers on GitHub. Those two should get you close enough that you can start asking more specific questions.
Hi All: I have integrated asana with my ios app using AsanaAPIKey for the user authentication. Now I want to do it using oauth authentication(new requirement).I have searched a lot but haven't found any valuable stuff related to this.Some examples are given in Ruby,but I know nothing about Ruby.Can any one help me out.
We don't have official iOS examples, but in general OAuth on Asana tries to be as close to "typical" as possible. Check out another SO question, https://stackoverflow.com/questions/5374570/whats-the-best-ios-oauth2-framework, for help with iOS and OAuth 2.0, between that and the developer docs https://asana.com/developers/documentation/getting-started/authentication I hope you find what you need, but if you run into specific issues please share them!
In the long-term we're hoping to have a proper iOS SDK to make this easier, but given constrained resources I wouldn't hold your breath on that.
Is there any tutorial out there showing how to use OAuth on IPhone?I download it from Gitgub. I want to send a mesage from my app to twitter.How to implement this...Anybody help me to immlement this?Advance thanks
Another option: DETweetComposeViewController
It uses OAuth for iOS4 and the built-in Twitter features in iOS5.
sai, you might want to look at the Socialize SDK (http://www.getsocialize.com) which will help manage the entire Social Integration process (FB/Twitter) for you without needing to know OAuth. Oauth is kind of a pain.