I have create a Facbook account for my game.
I want that there will be a simple link from my corona game just to go to the FB account.
What is the simple way to do it ?
Thanks
Yuval
I have create a Facbook account for my game.
I want that there will be a simple link from my corona game just to go to the FB account.
What is the simple way to do it ?
Thanks
Yuval
Hi Yuval,
Do you simply want to open the FB page in the device’s web browser?
Brent
Hi Brent,
Looking for 2 ways:
Simply want to open the FB page in the device’s web browser
Also what does it mean to open the FB app (if install one on the device)
Hi @yuval_forish,
For #1, it’s relatively simple: just use the system.openURL() API:
https://docs.coronalabs.com/api/library/system/openURL.html
Alternatively, you could open the page using the Safari View, available for iOS 9.x+
https://docs.coronalabs.com/plugin/CoronaProvider_native_popup_safariView/index.html
As for #2, reading the guide would be your first step, but it sounds like full implementation of Facebook is more than you need, so it might not even be necessary for you to proceed down this path:
https://docs.coronalabs.com/guide/social/implementFacebook/index.html
Hope this helps,
Brent
Hi Yuval,
Do you simply want to open the FB page in the device’s web browser?
Brent
Hi Brent,
Looking for 2 ways:
Simply want to open the FB page in the device’s web browser
Also what does it mean to open the FB app (if install one on the device)
Hi @yuval_forish,
For #1, it’s relatively simple: just use the system.openURL() API:
https://docs.coronalabs.com/api/library/system/openURL.html
Alternatively, you could open the page using the Safari View, available for iOS 9.x+
https://docs.coronalabs.com/plugin/CoronaProvider_native_popup_safariView/index.html
As for #2, reading the guide would be your first step, but it sounds like full implementation of Facebook is more than you need, so it might not even be necessary for you to proceed down this path:
https://docs.coronalabs.com/guide/social/implementFacebook/index.html
Hope this helps,
Brent