We have seen sign in using facebook and google+ in most of the iphone apps, but not the sign in using twitter. I searched in the internet for such Twitter SDK for iOS, but couldn't find. And also, haven't seen apps using Twitter for user authentication.
My question is, Isn't there any SDK for iOS to sign in with Twitter? If its not, whats the reason for that?
I haven't implemented it myself, but they do have this: https://dev.twitter.com/twitter-kit/ios/twitter-login
You can Try this simple and sweet . It's basically auth authentication .
Related
I have a kiosk app. I need users to login to post on facebook and immediately after posting force the facebook account to expire or logout.
In my understanding, I though couldn´t use the Social Framework of ios 6 because doesn´t work for the login/logout of many different users because it´s attached to an account in the settings of the device. So, I used an old code Facebook of Andy Yanok prior to ios5. Everything works perfect, except that so far I am not able to logout the session, after posting. At the moment I am looking for alternatives, maybe with the ios facebook SDk or inside the facebook app. I have cero experience with facebook apps so I have no idea if that is possible.
So, I would like to know if someone has experience with implementing facebook on an ipad kiosk. And how can I perform log-in window, posting and logout in the easiest way. If this can be done with the fb sdk or which is the fastest alternative.
If the facebook app is the option, please explain with detail , like I said I have very little experience making facebook apps.
Thanks!!
Ok the solution I used for this was to use the same Facebook code I already had and add some additional code to the log-out in the Facebook.m to delete the cookies. I found the code to implement here
I am developing a iOS application which allows users to login by using their Facebook account.
I managed to implement the login procedure thanks to official tutorial I found here https://github.com/facebook/facebook-ios-sdk. I found here https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/authenticate/ another tutorial which looks pretty different since in the first tutorial the user signs in through Safari, instead in the second tutorial the native Facebook App is used.
Among these two systems, which one is better? Perhaps by using Safari I could avoid any issue concerning back compatibility with older versions of iOS?
Thanks!
If you're using the official Facebook SDK, here's what happens:
If a user does have the Facebook app installed, they'll be taken to it to authenticate and login to your app.
If the user does not have the Facebook app installed, they'll be taken to Safari to authenticate and login to your app.
Either way, the login process is the same. After they authenticate, they're returned to your app using a specific URL scheme so that you can continue with what you're doing.
Finally, if you're targeting iOS 6 only, you can take advantage of the single sign on features built into iOS. Check the docs for more information on that.
According to the facebook documentation, there is a way to Sign In with Facebook in your iOS app, however, is there any way to Sign Up with their API ? Thanx in advance.
A workaround might be using the Windows Azure for iOS Framwork: http://bit.ly/PAwAGx
But I havn't used it yet, just read about it.
I am unable to login with facebook in my iOS app. I had thoroughly studied the Facebook api and followed the all instructions given by facebook api at developers.facebook.com site. I am able to authenticate but it is not logging in to my app. It says that Safari cannot open the page because address is invalid. I am new to iOS please help me. Thank you in advance.
You seem to have skipped the part of tutorial where you add a custom url scheme to your app. Without that, Safari can't send the user back to your app once they are authenticated.
Checkout Ray Wenderlich's tutorial on this:
How To Post on Facebook with Your iPhone App
http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app
I need to add the 'Share' on Facebook and Twitter buttons to my iPhone app. Before I get any further, do I have to go register on Facebook Developers, under Mobile Apps, in order to get an App ID (and then implement the Single Sign On)? How about Twitter?
First of all you need to register your app in facebook and twitter under development
For twitter go to this http://dev.twitter.com and for the facebook go to this http://developers.facebook.com/docs/guides/mobile/
when you register your mobile app you will get api key go to http://www.getsharekit.com . here is the open source api for share item (text, image , file , link ) to share on facebook , twitter and many more.
just check it.
Thanks
Yes, you do need to register with Facebook and be issued an App ID. Without this, you won't be able to do very much at all with their API. All the information you will need is available here:
https://developers.facebook.com/
...as well as the facilities to create your app and App ID.
If you are intending to use Facebook and Twitter official SDK, you will have to get ID from their respective developer console. For Facebook the official SDK can be downloaded here and for twitter the official SDK is here.
Updated : From iOS 6 onwards, you can use Apple's own Social Framework to share with Facebook and Twitter.