Click here to Skip to main content
14,365,158 members
Rate this:
Please Sign up or sign in to vote.
Hi guys,

I am having a problem with providing coordinates to my app in C#.


string access_token = tokens["access_token"];

var client = new FacebookClient(access_token);

client.Post

  ("/me/checkins", new {coordinates=("latitude='51.47', longitude='-3.09'"), place="test", message = "message!"});




when I run the application, I get this error:

(OAuthException - #160) (#160) Invalid coordinates. Coordinates must contain at least latitude, and longitude.

Would you kindly help?

Thanks
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100