Search code examples
twittertweepytwitterapi-python

Is there any way to lookup friendship in Tweepy via API v2?


Is there any way to use similiar method but with API v2 (Client class)?

I used this method https://docs.tweepy.org/en/stable/api.html#tweepy.API.lookup_friendships

API.lookup_friendships() 

But now I need to migrate to API v2


Solution

  • There is no equivalent endpoint in Twitter API v2 yet.
    You can refer to the Twitter API endpoint map in the Twitter API documentation.
    It says "[COMING SOON]" for GET friendships/lookup, the Twitter API endpoint API.lookup_friendships uses,.