9 ene. 2015 - Facebook Login Flow & Best Practices . can do a check for a successful response and obtain the access token; otherwise display an error. To get the access token as a string, you can type cast it using the (string) syntax: .