Is it possible to present relevant/dynamic data/information to facebook-users who visits a facebook landingpage?
Example:
Person A (already logged in to facebook) visits http://apps.facebook.com/appname/ and sees relevant information, like “welcome Person A, X number of your friends are here…”
Thank you!
Facebook will not give you the User ID (Person A) until the user authorizes your application. From there you can get the user’s friends that authorized the application (X number of your friends are here..)
A small example using the PHP-SDK could be found here.