Permalink
Browse files

Fixed broken link

  • Loading branch information...
1 parent fe4bcc4 commit 07fa3d1e0cd0a43b7a511dd850ed27c21ff815d4 @samvermette samvermette committed Apr 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.textile
View
@@ -66,7 +66,7 @@ The official "Facebook iOS SDK":https://github.com/facebook/facebook-ios-sdk is
h3. Twitter authentication
-Twitter is much more flexible in terms of sign in and API wrappers. For signing in, there are many web-based solutions out there, which ask for Twitter credentials and then requires the user to copy/paste an access pin. This is terrible UX. To allow native sign in and most importantly not ask the user to copy paste any bit of information, you'll need to "enable XAuth access for your app":https://dev.twitter.com/pages/xauth. Once that's done, you can then use @MGTwitterEngine@:https://github.com/mattgemmell/MGTwitterEngine to make both the authentification and other API calls. On successful sign in, the @accessTokenReceived:forRequest:@ will be called. This is where you should:
+Twitter is much more flexible in terms of sign in and API wrappers. For signing in, there are many web-based solutions out there, which ask for Twitter credentials and then requires the user to copy/paste an access pin. This is terrible UX. To allow native sign in and most importantly not ask the user to copy paste any bit of information, you'll need to "enable XAuth access for your app":https://dev.twitter.com/pages/xauth. Once that's done, you can then use "MGTwitterEngine":https://github.com/mattgemmell/MGTwitterEngine to make both the authentification and other API calls. On successful sign in, the @accessTokenReceived:forRequest:@ will be called. This is where you should:
* make an API call to Twitter to retrieve the username (using MGTwitterEngine's @checkUserCredentials@ method) and store it locally;
* grab the (OAuth) @key@ and @secret@ from the returned @OAToken@ and store them locally, that way the user stays signed in for as long they're valid (make sure you assign them through the @accessToken@ property everytime you create a new @MGTwitterEngine@ instance though)

0 comments on commit 07fa3d1

Please sign in to comment.