Talk:Admin.setAppProperties

From Facebook Developers 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.