I hereby claim:
- I am ryanvalentin on github.
- I am ryanvalentin (https://keybase.io/ryanvalentin) on keybase.
- I have a public key ASBzvVW4GAE7iT1MMby1AmIyY7WSRb0NV4CrDcIfhWam6go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<div id="disqus_thread"></div> | |
<script> | |
/** | |
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT | |
* THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR | |
* PLATFORM OR CMS. | |
* | |
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: | |
* https://disqus.com/admin/universalcode/#configuration-variables | |
*/ |
using System; | |
using System.Security.Cryptography; | |
using System.Text; | |
using Newtonsoft.Json; | |
namespace Disqus.Api.V30.Authentication | |
{ | |
public static class DsqSSO | |
{ | |
private const string _apiSecret = "DISQUS_SECRET_KEY"; // TODO enter your API secret key |
using System; | |
using System.Text; | |
namespace Disqus.Core.Api.Models | |
{ | |
public sealed class DsqWordpressIdentifier | |
{ | |
public DsqWordpressIdentifier(long wordpressId, Uri siteUrl) | |
{ | |
this.WordpressId = wordpressId; |
private static readonly Dictionary<string, string> _deviceMap = new Dictionary<string, string> | |
{ | |
{ "ACCORD", "HTC 8X" }, | |
{ "H883G", "Huawei W1" }, | |
{ "MOBILE", "Cherry Mobile Alpha Luxe" }, | |
{ "P4301", "Lumia 920" }, | |
{ "P5122", "Lumia 620" }, | |
{ "P5174", "Lumia 820" }, | |
{ "P5217", "Lumia 1020" }, | |
{ "P5238", "Unknown Lumia (P5238)"}, |
// Disqus API public key | |
var apiPublic = 'YOUR_PUBLIC_KEY'; | |
// Disqus API secret key | |
var apiSecret = 'YOUR_SECRET_KEY'; | |
// Should match exactly what you've entered in your Disqus API application | |
var oAuthRedirectUri = 'https://MOBILE_SERVICE_NAME.azure-mobile.net/api/disqus_callback/'; | |
// Master key from your mobile service configuration |
// Disqus API public key | |
var apiPublic = 'YOUR_PUBLIC_KEY'; | |
// Disqus API secret key | |
var apiSecret = 'YOUR_SECRET_KEY'; | |
// Should match exactly what you've entered in your Disqus API application | |
var oAuthRedirectUri = 'https://MOBILE_SERVICE_NAME.azure-mobile.net/api/disqus_callback/'; | |
exports.get = function(request, response) { |
// Disqus API public key | |
var apiPublic = 'YOUR_PUBLIC_KEY'; | |
// Disqus API secret key | |
var apiSecret = 'YOUR_SECRET_KEY'; | |
// Should match exactly what you've entered in your Disqus API application | |
var oAuthRedirectUri = 'https://MOBILE_SERVICE_NAME.azure-mobile.net/api/disqus_callback/'; | |
exports.get = function(request, response) { |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
namespace Example |
using Microsoft.Phone.Controls; | |
using Microsoft.Phone.Info; | |
using System; | |
using System.ComponentModel; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Navigation; |