I am successfully removing a tab from a facebook page with the following PHP:
$facebook->api('/'.$p_PageId.'/tabs/app_'.$p_AppId,
'DELETE',
array("access_token" => $p_PageAccessToken));
However the application still sits in the page admin’s ‘added apps’ section and can have it’s settings changed so that it is added again to the page. This is messy and I don’t want a user to think they have removed an application only to find it sitting at the bottom of their add apps list.
Does anyone know how to fully remove/uninstall the application once it has been removed as a page tab?
Should it not just be ‘ /pageid/tabs/app_id’ not app_appid? Also check the is_permanent field as these can’t be removed as detailed here
https://developers.facebook.com/docs/reference/api/page/#tabs
Although the docs do say that it only ‘deletes an installed profile tab’ not that it removes an application entirely which is why this could be causing ambiguity, as like you I would expect to be able to remove an application entirely. It looks like it might be the case that a user has to explicitly click to say they want to remove an app as opposed to uninstalling the tab. This might be a security measure to stop people removing each others page applications as this could potentially lead to data in those apps being deleted.