logout not working properly in monotouch-bindings

2019-08-24 13:57发布

问题:

i just downloaded the monotouch-bindings sample for facebook integration it's working fine but clicking on logout button for another user login, it's not asking the credentials, it tooks previous credentials and directly goes to next screen.

回答1:

Try Facebook Graph API instead. It's very easy to use JSON-based API.

There is useful JSON-data processing library JSON.Net for requests data serialization and response data deserialization.

AS a network transport it's possible to use generic HttpWebRequest.

Graph API + JSON.Net + HttpWebRequest together work like a charm under MonoTouch platform.