Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Delphi Programming Projects

You're reading from   Delphi Programming Projects Build a range of exciting projects by exploring cross-platform development and microservices

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789130553
Length 248 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
William Duarte William Duarte
Author Profile Icon William Duarte
William Duarte
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Building an Instagram Clone 2. Building a Facebook REST API FREE CHAPTER 3. Cross-Platform Services for Windows, iOS, and Android 4. Design Patterns to Build a Multi-Database System 5. Creating GUI Apps with FireMonkey 6. Implementing Tethering to Create a Remote Control 7. Building Microservices Using the RAD Server 8. Other Books You May Enjoy

Logging in with Facebook

You request an access token by opening the page. The access token is valid for only two hours. You can update the token in the background without the user having to log in again.

We have reached the last stage of this chapter. This is where we will add the final seasoning. To finally include the login functionality, you need to create a new form to receive a web page with which the user will interact to confirm their identity and to confirm the permissions requested by the application.

Coding login

Before encoding the login, we need to create a new form to display the Facebook authentication Uniform Resource Identifier (URI). By following the next steps alongside the new form, we will finally be able...

You have been reading a chapter from
Delphi Programming Projects
Published in: May 2019
Publisher: Packt
ISBN-13: 9781789130553
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 $19.99/month. Cancel anytime
Banner background image