Category: foursquare
-
Foursquare–part 4–conclusions
Part 1: beginning using API: http://msprogrammer.serviciipeweb.ro/2014/01/27/foursquarepart-1-of-4/ Part 2: Trying PC version: http://msprogrammer.serviciipeweb.ro/2014/02/16/foursquarepart-2-of-4/ Part 3: Improving PC version: http://msprogrammer.serviciipeweb.ro/2014/02/24/foursquarepart-3-of-4/ Part 4: conclusions( this blog post) First conclusion : web is media of choice . The programmers makes API easier for connecting via Web,not via every device. ( although FourSquare have developed native classes for IOS…
-
FourSquare–part 3 of 4
Last time I authenticated the user within FourSquare use by running the browser.But it is not so good because you have no control over what the user does. So the application must authenticate within – and here comes the GUI with a WindowsForm( simple for me than WPF) and a WebBrowser control. The code for…
-
Foursquare–part 2 of 4
After successfully connecting to Foursquare with an Web application,the problem is what to don with a Desktop application. The most simple desktop application is a Console . The first idea that I have had is to start a browser,let the user pass his credentials and retrieve data from browser. Something like this However,I have been…
-
Solving “No parameterless constructor defined for type of ‘System.String’.”
TL;DR If you have the problem No parameterless constructor defined for type of ‘System.String’! just add the DeserializeObject and InterceptError functions,add this 2 lines: watch the debug window and you will see the problems marked with !!! ( See also video at http://youtu.be/7oZ37pnSNtM) Long story: I wanted to do a tutorial for obtaining data from…
-
Foursquare–part 1 of 4
I have decided to log my daily routine from FourSquare . I decided to make a Web application and a desktop application ( console,to be easiear) . As a good application,4Sq have an API at https://developer.foursquare.com/ . I suggest you to start with conecting to 4Sq,https://developer.foursquare.com/overview/auth . For WebServers,you will redirect the user to an…