Can we improve previews on Facebook? #2990

Open
opened 2017-01-23 11:35:14 +00:00 by rlx · 5 comments
Owner

see attachment

see attachment
j added the
general
label 2017-01-23 11:35:14 +00:00
j added this to the 14.04 milestone 2017-01-23 11:35:14 +00:00
0x2620 was assigned by j 2017-01-23 11:35:14 +00:00
j added the
normal
enhancement
labels 2017-01-23 11:35:14 +00:00
Author
Owner

Attachment Pad.ma FB.png (85827 bytes) added

**Attachment** Pad.ma FB.png (85827 bytes) added
Owner

should be possible to add more info based on actual url.
we have to add/refine og meta tags from http://ogp.me/
the following:

    <meta property="og:title" content="..." />
    <meta property="og:description" content="..." />
    <meta property="og:image" content="..." />
    <meta property="og:image:secure_url" content="..." />
    <meta property="og:image:width" content="X" />
    <meta property="og:image:height" content="Y" />

not sure about og:video, would need testing as to what works / is required to get videos to play.

should be possible to add more info based on actual url. we have to add/refine og meta tags from <http://ogp.me/> the following: ``` <meta property="og:title" content="..." /> <meta property="og:description" content="..." /> <meta property="og:image" content="..." /> <meta property="og:image:secure_url" content="..." /> <meta property="og:image:width" content="X" /> <meta property="og:image:height" content="Y" /> ``` not sure about og:video, would need testing as to what works / is required to get videos to play.
Author
Owner

We'd have to support the same set of views as in embeds (some of which I assumed are orphaned, unused, or even broken)

We'd have to support the same set of views as in embeds (some of which I assumed are orphaned, unused, or even broken)
Owner

right now there are 2 views, default site view and item view
items get this:

        <meta property="og:title" content="The Kabul University"/>
        <meta property="og:type" content="movie"/>
        <meta property="og:url" content="https://pad.ma/BTO"/>
        <meta property="og:image" content="https://pad.ma/BTO/256p.jpg"/>
        <meta property="og:site_name" content="Pad.ma"/>
        <meta property="og:description" content="Cinematographer: Asefi Satarzadah, Camera Assistants: Faqrizad and Dost Mohammed, Editor: Saberi; Duration: 00:17:00; Aspect Ratio: 1.366:1; Hue: 70.394; Saturation: 0.098; Lightness: 0.353; Volume: 0.184; Cuts per Minute: 21.802; Words per Minute: 43.311; Summary: Date (Afghan Calendar): 1347Shows the reopening of Kabul University after renovations in the 60s.Footage Source: DVCAM tape transfer
Translated by Rajni Prakash"/>

but would have to map out what to show for what, about your example, a search, not sure
could use first item from results as image. if a list is selected the list description etc

right now there are 2 views, default site view and item view items get this: ``` <meta property="og:title" content="The Kabul University"/> <meta property="og:type" content="movie"/> <meta property="og:url" content="https://pad.ma/BTO"/> <meta property="og:image" content="https://pad.ma/BTO/256p.jpg"/> <meta property="og:site_name" content="Pad.ma"/> <meta property="og:description" content="Cinematographer: Asefi Satarzadah, Camera Assistants: Faqrizad and Dost Mohammed, Editor: Saberi; Duration: 00:17:00; Aspect Ratio: 1.366:1; Hue: 70.394; Saturation: 0.098; Lightness: 0.353; Volume: 0.184; Cuts per Minute: 21.802; Words per Minute: 43.311; Summary: Date (Afghan Calendar): 1347Shows the reopening of Kabul University after renovations in the 60s.Footage Source: DVCAM tape transfer Translated by Rajni Prakash"/> ``` but would have to map out what to show for what, about your example, a search, not sure could use first item from results as image. if a list is selected the list description etc
Owner

links to annotations should have annotation text

links to annotations should have annotation text
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2990
No description provided.