public void OnRequestComplete(string msg) { int delimIdx = msg.IndexOf(":"); if (delimIdx <= 0) { FbDebug.Error("Malformed callback from ios. I expected the form id:message but couldn't find either the ':' character or the id."); FbDebug.Error("Here's the message that errored: " + msg); return; } string idStr = msg.Substring(0, delimIdx); string payload = msg.Substring(delimIdx + 1); FbDebug.Info("id:" + idStr + " msg:" + payload); OnFacebookResponse(idStr, new FBResult(payload)); }
public override void ActivateApp(string appId = null) { FbDebug.Info("This only needs to be called for iOS or Android."); }