The following code on IOS returns confirmation in the xcode logs that the debug statements are going off, so every function listed below is working.
Any idea what facebook isn't noticing it? And yes, I have filled out the code in the settings for unity/facebook menu.
We get responses from the FBPublishResponse function " Facebook Publish Response: true", so it SEEMS to be working?
void Awake()
{
Debug.Log("***--- FaceBook Enable Called ---***");
FB.Init (onInitComplete, onHideUnity);
DontDestroyOnLoad (gameObject);
}
void onInitComplete()
{
Debug.Log("***--- FaceBook Enable Response ---***");
fbReady = true;
Debug.Log(" FB.Init completed: Is user logged in? " + FB.IsLoggedIn);
FB.PublishInstall (FBPublishResponse);
Debug.Log("***--- FaceBook Enable Finished ---***");
}
void FBPublishResponse(FBResult response)
{
Debug.Log (" Facebook Publish Response: "+response.Text);
}