M
MaikForte
Guest
So I'm currently trying to integrate my game to Facebook.
I have invoked facebook_init() at the start of the game making the facebook_status() = to IDLE.
Now, when the player dies, a share button appears. This has the Facebook Share button. Upon clicking, the script below will be called:
Making the facebook_status() = to PROCESSING.
After accepting the permissions and returning to the game, the game now tries to download the GameAssetsDROID.zip.
I was able to compile and play the game. This only happens AFTER logging in to Facebook using share button AND returning to the game itself.
Please note that I was able to compile and play the game beforehand.
I have invoked facebook_init() at the start of the game making the facebook_status() = to IDLE.
Now, when the player dies, a share button appears. This has the Facebook Share button. Upon clicking, the script below will be called:
Code:
if ( os_is_network_connected() )
{
var permissions = ds_list_create();
ds_list_add(permissions,"public_profile", "user_friends", "email");
facebook_login(permissions, fb_login_default);
ds_list_destroy(permissions);
show_debug_message( facebook_status() );
}
After accepting the permissions and returning to the game, the game now tries to download the GameAssetsDROID.zip.
I was able to compile and play the game. This only happens AFTER logging in to Facebook using share button AND returning to the game itself.
Please note that I was able to compile and play the game beforehand.