Search api and statuses/show returning inconsistent values


#1

I used the search api (search/tweets) to retrieve tweets based on certain keywords. The tweets have user entities and i can see that it returns correct values for status->user->following.
But when i use the same tweet id and fetch it via statuses/show the user object has ‘following’ set to NULL

why this inconsistency?
I can provide you the tweet id and twitter user id if you need to replicate this.


#2

I just checked with the rest console at apigee and it seems to return the correct following value for the given tweet and user.
I am not able to understand why this same endpoint returns incorrect value when i use my app.


#3

I just tried the endpoint statuses/lookup endpoint and i still do not get the correct status->user->following value


#4

even users/show does not return correct value


#5

Please provide the parameters you are using and the expected results.


#6

Is it safe to provide twitter ids here?


#7

I assume it is safe, i am following @chopdawgstudios (id: 58559649). I tried with other handles i am following too and noticed the same discrepancy.

I used the following endpoints:

search/tweets
parameters: q=chopdawgstudios, count=100
result:
This returns tweets along with user entity with correct following value (true).

statuses/show/760212579625164800.json
parameters: include_identities=1
result:
This returns tweets along with user entity with following set to null.

statuses/show/760212579625164800.json
parameters: id=[760212579625164800], include_identities=1
result:
This returns tweets along with user entity with following set to null.

If you need me to provide a page where you can confirm this, let me know.


#8

Any update on this?