Talk:Admin.setAppProperties

From Facebook Developer Wiki

Jump to: navigation, search

Perhaps note

[edit] Headline text

that, for use with the php libraries, the "list of property names that you want to view" should be an associative array so that is can be properly json encoded.
$properties = array('application_name' => 'Application Name', 
		    'callback_url' => 'http://www.mydomain.com', 
		    'post_install_url' => 'http://www.mydomain.com/add/', 
		    'edit_url' => '', 
		    'dashboard_url' => '',
		    'uninstall_url' => 'http://www.mydomain.com/removed/',
		    'ip_list' => '', 
		    'email' => 'app.admin@mydomain.com', 
		    'description' => 'Description of application', 
		    'use_iframe' => 0, 
		    'desktop' => 0, 
		    'is_mobile' => 1, 
		    'default_fbml' => '', 
		    'default_column' => 1, 
		    'message_url' => '', 
		    'message_action' => '', 
		    'about_url' => '', 
		    'private_install' => 0, 
		    'installable' => '', 
		    'privacy_url' => 'http://www.mydomain.com/privacy/', 
		    'help_url' => 'http://www.mydomain.com/help/', 
		    'see_all_url' => '', 
		    'tos_url' => 'http://www.mydomain.com/tos/', 
		    'dev_mode' => 0, 
		    'preload_fql' => '');


admin_setAppProperties($properties);

On 4/4/08, faceboook added these params: canvas_name icon_url logo_url


[edit] Missing config options

Page config is missing. The canvas url config is missing.

it seems there's no way to set if an app is installable to a fan-page or not (like "installable" does this for user-profiles). any chance this is going to get added?

This is in the works, but I don't have an ETA for you. I'll update when I get something more definite. Thanks, Pete -- 563683308 11:02, 25 November 2009 (PST)

[edit] Edit Application Profiles

It would be nice to be able to edit the Application Profile Information through this call.

reference