Hello again!
I am looking for a way to find out if a user is using darkmode or lightmode.
I have looked in the API for this and unfortunately I could not get a GET request which gives me the corresponding attribute.
For example, under GET user/lookup → user_object you can find things like profile_background_color, but no attribute which indicates which mode is used.

Ah, I understand the question now, thanks for clarifying (and apologies for closing the other thread).

That information is not available in the Twitter API, so this will not be possible.

1 Like

Hello,
thanks for the answer. That’s a great pity. Is there any chance that it will be added to the API in the near future?

I doubt that this would be a priority as we’ve previously removed (or marked as obsolete, to be removed in the future) most user preference information from the API for privacy reasons, and those values are not part of the next version of the API in Twitter Developer Labs. If you feel strongly that this is important data you could file a feedback request for the product team.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.