Oleg
Oleg

Reputation: 24988

Rendering tweets on the server side

Is there a library that would take the API response and render tweets server-side in accordance with twitter ddr?

I'm concerned that I'm reinventing the wheel when processing tweet entities, parsing the timestamp and rendering author name/avatar/@username. Twitter's widget.js seems to be very client side focused as-is; I haven't found the script's version that's documented and licensed for modified use on the server.

I'd rather avoid rendering on the client when it could be be pre-rendered and cached - just showing the latest tweet from a given account.

Upvotes: 1

Views: 579

Answers (1)

Mehdi
Mehdi

Reputation: 7403

You should have a look at twitter-text, it can be used at server side (as a node.js package), you probably can use it.

Upvotes: 1

Related Questions