- Home /
Question by
UDN_228a4697-03ff-485a-b05c-b723a3b763d8 · May 22, 2017 at 05:08 AM ·
facebooksharecoins
Facebook sharing result problem
my code adding coins if Facebook share result is success ... it's working good on unity when testing .. but after building the app and testing it on android share goes well but with no adding any coins
private void OnShare(IShareResult result){
if (result.Cancelled || !string.IsNullOrEmpty (result.Error)) {
} else if (!string.IsNullOrEmpty (result.PostId)) {
} else {
if (gameObject.name == "ShareFree") {
Coins = Coins+4; }
}
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612122302im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Screen is changing when i share ? 0 Answers
Facebook share screenshot with link. 1 Answer
Facebook share for Webplayer. 2 Answers
How can I make a Facebook Share Popup Window on iPad 0 Answers
facebook sdk share screen shot 0 Answers