Tag Archives: Facebook API
All the code for Part 2 is available on github https://github.com/mattgoldspink/swift-parse-login-part2
In the previous tutorial we looked at how we can quickly add Login & Sign Up views to our app using Parse, Facebook and Twitter. In this tutorial, we’ll take what we have done and we will customize our Login and Sign Up views so they‘re branded for our Vay.K app that we created for the purpose of this tutorial.
The full code for this Tutorial can be found at https://github.com/mattgoldspink/swift-parse-login-part1
First impressions are everything, so when users download your app, you have to make sure that the first screen they see lets them know this app means business. Setting up a proper signup/login process used to be very tedious and time-consuming. Now you can kiss those long hours spent on setting up the login screen goodbye thanks to Parse, which offers a great platform to handle signups and integration with Facebook and Twitter for free.
In this tutorial, we’ll look at how to setup a custom Login and Signup view, so you can get users signed up with minimal effort. I will show you how to get all the configuration setup using Parse’s default Login and Signup views. Once you have completed the setup, check out Part 2 of my Parse tutorial to see how we can customize the styles to make your app really stand out!
For the purpose of our tutorial, we’re going to create a social network called “Vay.K” for people who want to share photos from their vacations.
I get a lot of people asking me about the best practice for Facebook login flow. Most of us are used to logging people in using an email address and a hash of their password, but how do you log a user in from Facebook when they never enter a password on your site?
Let’s look at the best practices for logging a Facebook user into your web app.
Stetho is an open source debugging platform, developed by Facebook, that offers a rich and highly interactive debugging experience to Android developers. With Stetho, debugging native Android apps becomes as simple as debugging a web page, because it allows you to use Google Chrome’s developer tools to perform various debugging activities, such as view hierarchy inspection, network inspection, SQLite database management, and more.
In this tutorial, you are going to learn how to add Stetho to an Android project and use both Google Chrome’s developer tools and Stetho’s command line utility,dumpapp, to debug it.
As an Android programmer, I’ve found it frustrating at times to find help on the web when I need to figure out something that I’ve never done before. A little while back, Facebook updated their Android SDK to 4.x (as of this writing it is at 4.5.1). This update made major changes to the way to login to Facebook through your app. At first, it seems a little overwhelming and complicated, but after a while it actually makes more sense and is easier than past versions.
The problem is, I don’t like to use the Facebook Login button they provide in my apps, because it does not match the theme or style of the apps I make, so I need to use the login manager.
The login manager handles the login sequence to Facebook, asks permissions such as read and publish, and logs out.
The following code examples are not complete 100% apps. Instead I’ll show the code required to put into your own app. Also, I use Android Studio for all of my app development, so the examples will be using that with Gradle.