Fix #463 - Fetch and display previews of URLs using OpenGraph tags
This commit is contained in:
parent
8d0284f8d9
commit
f0de621e76
26 changed files with 302 additions and 7 deletions
5
app/views/api/v1/statuses/card.rabl
Normal file
5
app/views/api/v1/statuses/card.rabl
Normal file
|
@ -0,0 +1,5 @@
|
|||
object @card
|
||||
|
||||
attributes :url, :title, :description
|
||||
|
||||
node(:image) { |card| card.image? ? full_asset_url(card.image.url(:original)) : nil }
|
Loading…
Add table
Add a link
Reference in a new issue