Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there an API to check if Roblox user is online?

I've searched over the Roblox wiki and cant seem to find anything regarding this. I did find a wiki on the Roblox wiki that contained user APIs, however that was no use.

Is there any API that allows me to check to see if a Roblox user is online?

3 answers

✓ Accepted answer

I'm not sure if there is any way to see if a specific user is online but there is an API class called "GetFriendsOnline" inside of the player. You could access a player that way but I, again, have no idea to find a specific player.

1 comment

0

While this is useful, it's not what I'm looking for. Thanks for the advise though.

No sadly, There is no built in way to do this. You could, access the website to check, but roblox does not allow that. You could however, access the data from an api elsewhere to check the website.

This is way late but there should in fact be an API for this, how I know is this game that shows you when a player was online last.

https://www.roblox.com/games/2120256007/Check-a-Roblox-Users-Last-Online-Information?refPageId=b1092c8f-6f6b-458d-badd-918a89cc6a7c

This link is towards the game and if you type a user's name in the message box and click the red button, it will show you the last time they were online, to use this to see if a player is online, well just do if the time right now is the same as the player's last online status than do what ever.

This discussion is preserved as it was. New answers, comments, and votes are closed.