XF 2.3 Presence API

stromb0li

Well-known member
One thing I've noticed is if requests are made by API, a member doesn't show up in the online list or show what page they are browsing. I'd assume this is by design because you can't assume a "screen" based solely on API call. In this case, is there an API that should be called to update the location of the page the member is on?
 
In this case, is there an API that should be called to update the location of the page the member is on?
No, there is no such API as it just doesn't make sense, there are no pages a user could be on if using the API.

If you want to implement a (fake) session activity for API you could probably implement an API endpoint to just call SessionActivityRepository::updateSessionActivity()
 
Back
Top Bottom