Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys,

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


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

 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900