0

I am creating a native Windows Phone App, and I would like to have a functionality that enables making facebook wall posts with location displayed on the map(like when you tag some place).

It might seem a duplicate question but I haven't managed to find C# code for that.

So I need to post place, but I have only latitude and longitude, no facebook placeId

here is sample code that doesn't work:

        var parameters = new Dictionary<string, object>();

        parameters["message"] = txtMessage.Text;

        var place = new Dictionary<string, object>();
        place["location"] = new GeoCoordinate { Latitude = 60.1654712,
                                                     Longitude = 24.9220499 };
        parameters["place"]=place;
        fb.PostAsync("me/feed", parameters);

1 Answer 1

-1

You could try searching for places within a certain distance of your lat/long coordinates, and let the user chose one of the results.

See https://developers.facebook.com/docs/reference/api/#searching for details.

2
  • Thanks for answering. I know that option but is there a possibility to tag place exactly from coordinates? I know you can create new places in native facebook app, but I haven't found api for that Jul 25, 2012 at 6:35
  • There doesn’t seem to be a way to do it via API, but here someone describes how it could be done using Open Graph objects: stackoverflow.com/questions/6017790/… – maybe you can use that?
    – CBroe
    Jul 25, 2012 at 8:52

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.