Getting the user's IP address in an action

Is there a cross-interface (GQL, JSON, etc.) way to get the user's IP address in an action?
2 Replies
ZachDaniel
ZachDaniel3y ago
It depends 🙂 What I would currently suggest is to set the users ip in a key on the actor so you could do something like actor.__metadata__.ip_address
\ ឵឵឵
\ ឵឵឵OP3y ago
Ok, sounds good. A small plug should do the trick. Thanks!

Did you find this page helpful?