Slack API, get current location

Viewed 3313

Is there any method to get current user location. Let say I created some "slash" command /map. When I am calling this command - POST message being send to my nodejs server, and server returns some json data.

{
    "channel": "#map", 
    "username": "test", 
    "unfurl_links": true,
    "icon_emoji": ":world_map:",
        "attachments": [
        {
            "fallback": "Required plain-text summary of the attachment.",
            "pretext": "Beautiful Personalized Map Sharing",
            "image_url": "http://static.mapjam.com/yrjkbmb/auto/640x480.jpg",
            "thumb_url": "http://static.mapjam.com/yrjkbmb/auto/640x480.jpg"
        }
    ]
}

Because I am authenticated I am able to get some Slack user info:

  • username
  • email etc..

How can I access Slack user lat, long if it is possible though

2 Answers
Related