I posted a question 13 days but no reply so guessing its not possible -

Basically I want to return spaces that a list of users is speaking in. The above topic would be the ideal scenario - doing a basic /2/users/by query and having any current spaces they apart of being returned in that response object

2nd possible solution I can think of is querying the spaces. There is a query to return spaces by creators ( /2/spaces/by/creator_ids ) but not by speakers. So i’m trying to just use the hack of searching spaces by running through A-Z and 0-9 in the query param, and then checking against the returned speaker_ids. However this seems to be returning inconsistent results. For eg

There was a space with the title - “Dropping the knowledge!” ID: 1ynKOZqgLaQxR
I could see this space in the following query, searching “Dropping”

https://api.twitter.com/2/spaces/search?query=D&space.fields=title,topic_ids,speaker_ids&topic.fields=id,name,description&state=live&expansions=speaker_ids

However searching purely “D” did not return this space, instead return spaces where I could not see any character D, for eg:
“Karaktersizler gelmesin ;)” ID: 1vAxRkroXbrKl
Including several others, also with purely Japanese characters

So it looks like even the hack method of searching all characters A-Z does not work

Is there something I’m doing wrong here or perhaps another approach I can take?

Thanks!

1 Like

I think the best place for suggesting additions to the API is via GitHub - twitterdev/open-evolution: Open evolution proposals for the Twitter API

1 Like