Type Boolean Library facebook.* Revision Release 2022.3683 Keywords See also Implementing Facebook
Queries iOS to see if access to the Facebook integrated account has been denied.
facebook.accessDenied
local facebook = require( "facebook" ) if ( facebook.accessDenied ) then native.showAlert( "Facebook access denied", "Please go to Settings > Facebook and enable access for this application." ) else facebook.login( appId, facebookListener ) end facebook.publishInstall( "XXXXXXXXXX" ) --replace XXXXXXXXXX with your Facebook App ID