views:

860

answers:

3

Hello, I'm looking for an OAuth 1.0a sample for .NET compact framework. Preferably .netcf 3.5 but 2.0 is fine too.

I'm looking to call oauth for the foursquare.com api (http://groups.google.com/group/foursquare-api/web/oauth)

A: 

Check out DotNetOpenAuth. It's an open-source (Ms-PL) .NET library for OpenID and OAuth. Samples included. Not sure if it supports compact framework, though.

Cam Soper
It unfortunately does not yet support NetCF.
Andrew Arnott
DotNetOpenAuth doesn't work with the compact framework. This question is specifically about getting oauth working in the compact framework.
ajma
A: 

Another library that provides oauth consumer and provider support is http://code.google.com/p/oauth-dot-net/

Also, there's a code project here that uses OAuth on Windows Mobile: ffwinmobile.codeplex.com Unfortunately it looks like it's oauth 1.0.

Jimmy Moo Moo
It doesn't look like this supports .NET Compact Framework either.
Andrew Arnott
+2  A: 

Here's someone's detailed blog post on how to write an OAuth 1.0a consumer on NetCF.

I've also opened a DotNetOpenAuth branch targeted at NetCF, although it's not ready yet.

Andrew Arnott