lundi 27 mars 2017

Is it possible to programmatically embed Reddit posts in a page?

Reddit now offers the possibility to embed reddit posts and comments on your page. For posts, the way to do it manually is to click the "share" button, then select "embed" in the pop-up window. This creates a snippet that you can include in your page. However I would like to this automatically with posts I get and select from the reddit API.

Is there an API to generate the snippet? Should I just figure out the format and generate it myself?




Aucun commentaire:

Enregistrer un commentaire