Onebox shows original tweet instead of linked reply tweet

onebox

(John ) #1

Onebox tweets are much less awesome on our forum than this one.

Specifically, links to a reply will show the original tweet instead, and also lack profile pictures.

We’re up to date on v1.4.0.beta8 +35.

This is how it appears here:

https://twitter.com/JohnMardlin/status/631833868081958912

This is a test post in a hidden section of our forum: Onebox shows original tweet instead of linked reply tweet

Contact me if you would like access to view it.


(Jeff Atwood) #2

Do you have the Twitter API key credentials entered in site settings? If you don’t the one boxing will be a bit weird.


(Sam Saffron) #3

Yeah … I just confirmed and you are missing both:

“twitter consumer key” and “twitter consumer secret” without this our use of twitter api is heavily restricted.


(Sam Saffron) #4

Note, this is on @techAPJ’s list, our default handling sans key should be better


(John ) #5

It did seem odd that the styling of publicly available data needed keys.


(Jeff Atwood) #6

Twitter does not allow any api access unless you use an api key.


(Arpit Jalan) #7

Done! :bird:

https://github.com/discourse/onebox/commit/80753d8bc4a7f9f981655cc8d01d87490011f16d

Now the api version and no-api version of Twitter onebox is almost identical! :smile:


(Sam Saffron) #8