1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Instagram API - user position

Discussion in 'Instagram' started by jlc17, Mar 2, 2016.

  1. jlc17

    jlc17 Newbie

    Joined:
    Nov 17, 2015
    Messages:
    7
    Likes Received:
    0
    Hello everbody,

    I am trying to figure out how to translate user position x y coordinates to a real place.

    Example:

    {"data":{"type":"image","users_in_photo":[{"user":{"username":"kevin","full_name":"Kevin S","id":"3","profile_picture":"..."},"position":{"x":0.315,"y":0.9111}

    What can I do with this: X:0.315 Y:0.9111 ????

    Thanks
     
  2. longdouble

    longdouble Regular Member

    Joined:
    Jun 15, 2015
    Messages:
    411
    Likes Received:
    81
    Get width/height of the image and multiply these values appropriately.