I\'m building an application with the following blocks:
Android - Client Side, Java Servlets - Sever Side, Facebook app - used in order to authenicate users and wo
So you have: Facebook - Android Application - Your web server. And your web server needs to know that you are the Facebook user you are presenting. The problem is that you can not trust the Android client for any data it gives to you.
I solved the problem like this:
If the debug endpoint API call from your web server returns valid information (app id & user id), your server can trust the id (& you can be sure that the Android authentication is real)