Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Cross-platform UI Development with Xamarin.Forms

You're reading from  Cross-platform UI Development with Xamarin.Forms

Product type Book
Published in Aug 2015
Publisher
ISBN-13 9781784391195
Pages 330 pages
Edition 1st Edition
Languages
Author (1):
Paul Johnson Paul Johnson
Profile icon Paul Johnson

Table of Contents (22) Chapters

Cross-platform UI Development with Xamarin.Forms
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. In the Beginning… 2. Let's Get the Party Started 3. Making It Look Pretty and Logging In 4. Making Your Application Portable 5. Data, Generics, and Making Sense of Information 6. A View to a Kill 7. Connect Me to Your Other Services 8. What a Bind! 9. Addressing the Issue 10. This is the World Calling… 11. A Portable Settings Class 12. Xamarin Forms Labs 13. Social Media into the Mix 14. Bringing It All Together Index

Adding social media to your app


Social media sites (such as Facebook and Twitter) are fast becoming the defacto method of communication for people around the world. They both have massive advantages over sending messages with images via MMS or have the text size restrictions that are found in text messaging.

Adding social media in an app is not that difficult and works via a login system that passes the information to either the OAuth1 or OAuth2 authentication system for verification.

The difference between OAuth and OAuth2

OAuth2 gives the mobile developer a lot of advantages over the original version. One of the most important advantages is that OAuth2 doesn't require the app to launch a web page for authentication. The second advantage is that the OAuth2 token is short-lived: the app cannot stay live forever.

Implementing OAuth

We can implement OAuth in a number of ways. The simplest way is to install Xamarin.Auth via NuGet (at the time of writing, the component store only lists this for iOS...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}