Skip to content

arturdev/SONetworking

Repository files navigation

SONetworking

Networking Static Library (for Windows phone 7.1)

USAGE

Add all *.dll files containing in SONetworking/Bin/Release/ folder to your project's references.

Add SONetworking to using list.

using SONetworking;

Example of how to get facebook's user friend info

SOJsonRequestOperation.BaseUrl = "https://graph.facebook.com/";

List<KeyValuePair<string,string>> parameters = new List<KeyValuePair<string, string>>();
parameters.Add(new KeyValuePair<string, string>("access_token", "_your_fb_access_token_"));

SOJsonRequestOperation.StartJSONRequestOperation(HttpMethod.Get, "me/friends",parameters,
    delegate(bool success, int statusCode, JObject fbObject)
    {
        if (success)
        {
            foreach (JObject friend in fbObject["data"])
            {
                Debug.WriteLine(friend["name"]);
            }
        }
    });

About

Networking Static Library (for Windows phone 7.1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages