데이터 API / X / User
Check Follow Relationship
Check whether one X user follows another, in both directions, by @handle. Use this for a single targeted lookup instead of paging through get_twitter_user_followers or get_twitter_user_followings — it answers 'does A follow B, and does B follow A' in one request. Returns the relationship flags under data.
파라미터
쿼리
source_user_namestring필수Screen name of the source user.
target_user_namestring필수Screen name of the target user.
요청 예시
curl -G "https://openapi.felo.ai/v1/beta/twitter/user/check_follow_relationship" \
--data-urlencode "source_user_name=<string>" \
--data-urlencode "target_user_name=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"응답
응답 필드
dataobject선택followingboolean선택followed_byboolean선택statusstring선택허용 값: success · error
messagestring선택