shoutit / shoutit-web

1 stars 0 forks source link

Missing meta tag #151

Closed gpbl closed 8 years ago

gpbl commented 8 years ago

Standard meta tags, Facebook open graph and twitter seems missing / not working. Could require a review of our isomorphic structure.

nourspace commented 8 years ago

Very important to have this fixed even if in a hacky way not to cause Facebook to decline our app open graph actions.

p0o commented 8 years ago

Not working in which way? After sharing? Because as I remember we had open graph meta tags from the early days of Shoutit and they are still there. Right now we have these meta tags:

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# shoutitcom: http://ogp.me/ns/fb/shoutitcom#">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#99ca3b">
<meta property="description" content="Shoutit is the fastest way to share and offer what you want to sell or buy. Take a photo or video of the item you want to sell or buy and connect to potential buyers or sellers directly.">
<meta property="fb:app_id" content="353625811317277">
<meta property="og:url" content="https://www.shoutit.com/">
<meta property="og:title" content="Shoutit">
<meta property="og:description" content="Shoutit is the fastest way to share and offer what you want to sell or buy. Take a photo or video of the item you want to sell or buy and connect to potential buyers or sellers directly.">
<meta property="og:site_name" content="Shoutit">
<meta property="og:image" content="https://www.shoutit.com/img/cover.png">
<meta name="twitter:site" content="@Shoutitcom">
<meta name="twitter:url" content="https://www.shoutit.com/">
<meta name="twitter:title" content="Shoutit">
<meta name="twitter:description" content="Shoutit is the fastest way to share and offer what you want to sell or buy. Take a photo or video of the item you want to sell or buy and connect to potential buyers or sellers directly.">
<meta name="twitter:image" content="https://www.shoutit.com/img/cover.png">
<meta name="twitter:card" content="app">
<meta name="twitter:app:id:iphone" content="947017118">
<meta name="twitter:app:id:ipad" content="947017118">
<meta name="twitter:app:id:googleplay" content="com.shoutit.app.android">
<title>Home - Shoutit</title>
gpbl commented 8 years ago

@p0o is it working for single shouts as well? Eg when sharing a shout on Facebook.

nourspace commented 8 years ago

exactly, what we are missing is the single shout meta tags which are used to identify Facebook Opengraph objects.

p0o commented 8 years ago

The code is written for showing specific tags in graph data but now that I look shout pages are also returning the main pages meta tags. I will figure out the reason soon.

p0o commented 8 years ago

This is closed by #176. Please open a new issue for improvement of other object types available in Shoutit Facebook Developer account.

gpbl commented 8 years ago

:+1: thanks! in the future we may want to add better support for the image meta tag in case a shout has more images.