lets say i have app id, app secret id and user uid now i want to get user access token to get its locations information. Actually i am listening for real time updates for user status if user changes its status i received that update on my server which is node.js server now i have its user uid i want to retrieve information about its updates but for that i need user access token and i am not getting how to get that?
Note: User already authorize this app for user_status permissions through facebook so i have access permissions to its location info.
You cannot get the access token with user id. You have to get the extended access token and store that some where and you can use it later.
Now, you should be able to access the status with application access token. I had earlier got email of my all users with application access token as they had granted permission to app.
This will return you application access token.