You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no user.legacy.following_count property. The field of user's following count in Twitter API is actually called friends_count. And you don't need to change twe_private_fields.
I've modified the script and build a combined version for you. Give it a try:
How to get followers_count and following_count in the json response?
JSON response
{
"id":
........
"followers_count": 922,
"following_count": null, <----------------------------------------------------------------- need this info
.....
"following": false,
"followed_by": null,
},
Here are my code alterations but still returns null
of interest are
const FollowingInterceptor = (req, res, ext) => {
and
const FollowersInterceptor = (req, res, ext) => {
I chose to conbine to grab the info into 1 function.
Returns null, cannot get it to populate the value.
The text was updated successfully, but these errors were encountered: