Talk:Admin.getAppProperties

From Facebook Developers Wiki

Jump to: navigation, search

Perhaps note that, for use with the php libraries, the "list of property names that you want to view" should be an array so that is can be properly json encoded.

> So you're saying, the actual parameter sent to the server should take the form of a JSON-array, like "['application_name', 'callback_url', 'email', ...]" ?

$properties = array('application_name', 
		    'callback_url', 
		    'post_install_url', 
		    'edit_url', 
		    'dashboard_url',
		    'uninstall_url',
		    'ip_list', 
		    'email', 
		    'description', 
		    'use_iframe', 
		    'desktop', 
		    'is_mobile', 
		    'default_fbml', 
		    'default_column', 
		    'message_url', 
		    'message_action', 
		    'about_url', 
		    'private_install', 
		    'installable', 
		    'privacy_url', 
		    'help_url', 
		    'see_all_url', 
		    'tos_url', 
		    'dev_mode', 
		    'preload_fql');


admin_getAppProperties($properties);

What about the canvas_url? Can we have the ability to retrieve that as well?