Onebox shows original tweet instead of linked reply tweet

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.

1개의 좋아요

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

2개의 좋아요

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.

3개의 좋아요

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

1개의 좋아요

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

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

2개의 좋아요

Done! :bird:

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

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

5개의 좋아요