Foursquare and ASP.Net - asp.net-mvc

does anybody work with foursquare api and asp.net, do you know some basic tutorial, how to set the environment, do I need some api, how can I make my app to conect to 4sq and ask something. I work with asp.net mvc2, and any clue on this would be helpful.
Thanks in advance.

There are a couple of C# libraries available for the foursquare API, you can see the complete list here:
https://developer.foursquare.com/docs/libraries.html
In terms of tutorials, you can use the interactive query viewer on the foursquare website to get a sense of the data:
https://developer.foursquare.com/docs/venues/venues.html
(click 'try it now' and it will give you an interactive query console for the api!)
You can also get a walkthrough of how to do OAuth2 authentication on the website too:
https://developer.foursquare.com/docs/oauth.html
For what it's worth, when I was first playing with the API I found it useful to test out all of my queries using cURL, then once you use a library you're already a pro.
Hope that helps?

Related

Survey monkey c# console integration

Please anyone provide some examples on c# Survey monkey integration console application?
Are you asking specifically on how to make API requests with C#? Or How to use the SurveyMonkey API.
The docs for the SurveyMonkey API can be found here. Just from doing some searching online, there is documentation on how to make web API requests in C# here.
There is an SDK for using the SurveyMonkey API in C# I've seen people use available here.
Hopefully any of those links can help you get started.
Use SurveyMonkeyApi NuGet package.

DotNetOpenAuth in MVC4 - Yahoo doesn't work

I am migrating my existing project from MVC3 to MVC4. In MVC3 I used Microsoft Azure's Access Control Service (ACS) for getting user identity. I would like to use DotNetOpenAuth.AspNet that comes with VS2012 to replace the old method, and I am studying this with the sample website that VS2012 created when you start a new 'Internet Application' project.
I followed the tutorial and made the necessary changes in AuthConfig.cs, trying to enable using facebook & google & yahoo to authenticate. The facebook works ok. Both Google and yahoo don't work, and result.IsSuccessful is always false in the function ExternalLoginCallback().
I did some google search and found this site: https://github.com/mj1856/DotNetOpenAuth.GoogleOAuth2. I followed this site and finally got google work.
However, I am still stuck with the yahoo problem. I wonder if there is any similar solution for yahoo like google.
Thank you.
Sorry I didn't see this sooner. Glad you like my Google OAuth2 adapter. I wrote one for Facebook also.
I checked, but I couldn't find any support from Yahoo for OAuth2. They appear to support only OpenID or OAuth 1. You might as well us the OpenID client that ships with OAuthWebSecurity in MVC4.
OAuthWebSecurity.RegisterYahooClient();
If anyone know of Yahoo OAuth2 support, please let me know. Thanks.

Examples using updated gdata-java-client with Oauth2?

According to http://code.google.com/p/gdata-java-client/source/detail?r=505 the gdata-java-client library has recently (April 2012) been updated with OAuth2.0 support. I'd love to use that in a web application, to create and modify google spreadsheets. I want users of my web app to have their data stored in a google spreadsheet under their own credentials.
I'm new to using google apis, and am getting quite lost while trying to wade through examples. They all seem to refer to deprecated auth methods (oauth1 or authsub or clientlogin).
Has anyone seen any good, recent samples on how to use gdata apis with Oauth2.0 to accomplish the sort of thing I'm talking about? Thanks very much in advance. And sorry if the question is too n00by.

How should I use Twitter API in java?

I want to develop a web application that uses the Twitter API.
Where can i find examples
thanks for replay. I have downloaded an app from this site - github.com/yusuke/sign-in-with-twitter I have deployed and its running, but its giving javax.el.PropertyNotFoundException: Property 'userId' not found on type twitter4j.Twitter this exception after giving log in credentials in twitter log in site. thanks in advance.
i am not able to resolve this issue. can anybody help on this
Search for 'twitter api java examples' in Google and you'll find plenty of examples.
See http://blog.richardadamdean.com/?p=89 for an example using Twitter4J.
As a connection library, you could use
Twitter4J on http://twitter4j.org/
java-twitter on http://code.google.com/p/java-twitter/
JTwitter on http://www.winterwell.com/software/jtwitter.php
You can use Java Twitter - a pure Java interface for the Twitter API.
http://code.google.com/p/java-twitter/
Documentation and examples are on that page too :)

Twitter Api for .NETApplications

Can any one suggest me to best C# twitter api for developing application with twitter api?. I want all the advance functionality of twitter in my application.
Twitterizer
Twitterizer is a .NET class library that provides an easy-to-use interface for the Twitter web api. It is written for developers. It's features are easy to discover and follow a consistent design pattern. http://www.twitterizer.net
LINQ to Twitter, if your app is LINQ-enabled.
"LINQ to Twitter is a LINQ Provider for the Twitter micro-blogging service. It uses standard LINQ syntax for queries and includes method calls for changes via the Twitter API."
I haven't used this myself, just found it when browsing and passing it on. It's interesting that if you search with the #linqtotwitter hashtag, you can see all the test tweets, which all start with "Ç".
Kindly follow the below link to get latest API for Twitter
Latest Twitter API
May I humbly suggest TweetSharp. It has full support for the API including the Search API and updates are released as soon as possible to address changes in the twitter API. (for instance, it already supports the upcoming GeoLocation APIs).
It's open source (MIT license), so you can use it free for pretty much anything you want.
Disclosure: I'm a project owner.

Resources