That was the solution we were going to go with, the issue ended up been on the Facebook SDK side and had nothing to do with NGUI.
The issue was working out when the facebook UI was on screen.
So, if anyone else runs into this issue.
The fix was to use a callback from FBResult. A complete oversight on my behalf when learning about the facbook SDK.
For example I had to set up a function like this.
void LogCallBack(FBResult result)
{
if (result.Error != null)
{
Debug.Log("ERROR IN FEED");
sm.butCover.SetActive (false);
}
else
{
Debug.Log("SUCCESS IN FEED");
sm.butCover.SetActive (false);
}
}
And then at after you call your FB.Feed you use the callback which sends information back regarding the facebook UI (from my understanding)
else
{
sm.butCover.SetActive (true);
FB.Feed (
linkCaption: "", //share with friends at anytime.
picture: "", //http to game icon to be shown on facebook.
linkName: "", //just the name of the link
link: "http://apps.facebook.com/" + FB.AppId + "/?challenge_brag=" + (FB.IsLoggedIn ? FB.UserId : "guest"),
callback: LogCallBack
);
}
So if you press share or cancel it will indicate that the callback was a success.
FYI sm.butCover.SetActive is just a panel that covers the screen which I am turning on or off to block interaction with the game while the FB UI is up on screen.