Jump to content

How to Tell a User Added Your Facebook App

0
  Jay Goldman's Photo
Posted Oct 29 2009 01:04 PM

If you need to check whether a user has added my app, use the Users.isAppAdded⁠(⁠ ⁠) method:

$hasAdded = $facebook->api_client->users_isAppAdded();

Users.isAppAdded⁠(⁠ ⁠) returns a boolean indicating whether the specified user has installed your app. This will check for the current loggedinuser by default, but web-based Facebook apps can also pass in a different uid:

$hasAdded = $facebook->api_client->users_isAppAdded('12345');
Facebook Cookbook

Learn more about this topic from Facebook Cookbook.

This Cookbook gives you a unique collection of recipes for building Facebook applications using the new profile design. This easy-to-follow book not only gives you practical ways to design and build scalable applications using the Facebook Platform, it also offers strategies for successfully marketing them in this highly competitive environment. Learn what it takes to design Facebook applications that stand out among the thousands already available.

See what you'll learn


0 Replies