Info
Version: | 1.1.0 |
Author(s): | Matias Woloski |
Last Update: | Friday, October 26, 2012 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/SinglyOAuth |
Install
Install-Package SinglyOAuth
dotnet add package SinglyOAuth
paket add SinglyOAuth
SinglyOAuth Download (Unzip the "nupkg" after downloading)
Dependencies
- WebActivator(1.5.1)
- Newtonsoft.Json(4.5.10)
- DotNetOpenAuth.AspNet(4.1.2.12274)
Tags
By default singly access_token will be placed in the session with this name "singly_accesstoken". But since this NuGet package is just source code you can modify that and store it somewhere else (like a cookie if using SSL).
Once you get an access token you can call Singly API using OData and JSON light installing the latest tooling http://www.microsoft.com/en-us/download/details.aspx?id=34773 that supports the new format.
This is how queries look like to any service (twitter, facebook, foursquare, etc):
context.Statuses.Where(s => s.Data.Contains("@woloski")).ToArray();
You can query contacts, photos, videos, news, statuses, etc. More queries:
https://github.com/qraftlabs/singly-tests/blob/master/Singly.Tests/Tests.cs
http://singly.com.