Does anyone know the maximum limit of description field in facebook feed sharer?
It seems to be 100 characters but I can't find any documentation says about max length od description field.
It's as of today 100 characters for the title and 108 characters for the description. That's what shows up in the preview when you post a link to Facebook. The actual sharer.php page however will show more of the description.
There is a related question here:
Facebook open graph meta tags maximum content length
(since open graph tags are used by the sharer)
It seems the answer is that there isn't a hard limit, but Facebook will truncate it as needed, which is different depending where it is used; and that the limit for news feeds changes all the time.
Related
I have had issues with Facebook not showing preview image before, but now Facebook doesn't suggest preview at all on our new Wordpress posts, the oldest one being one month old. And there seems to no difference on those posts OG metadata than with those older posts that does get preview correctly.
This month old post doesn't get preview at all: http://markokaarto.fi/kuinka-sijoitan-asuntoihin/
This one gets:http://markokaarto.fi/vmaiset-remonttimiehet/
Try using a URl shortner are you posting on a specific page or a facebook group please specify, also keep the text discription of the post limited to 90 characters.
Is it possible to reduce the maximum characters so you get earlier the "read more" link?
I added comments this way to my website:
https://developers.facebook.com/docs/reference/plugins/comments/
I dont want to let the comments stretch my webpage by lager comments...
Does anyone know the maximum valid length for each of Facebook's open graph meta tags?
The description of the meta tags on http://ogp.me/ does not list maximum lengths, only general descriptions such as "A one to two sentence description of your object" for the og:description meta tag.
From what I understand, there is no maximum content length for meta tags in general, just recommendations to keep them under certain lengths for SEO reasons.
I'd be curious to know if there is a hard limit and what the limits are for what is visible on a link posted to Facebook.
There isn't a hard limit on the data you can put there, but in various rendering places Facebook will limit it. The limit in news feed is different from the limit in Ticker which is different than the limit on timeline.
Just put the correct content in there and we'll truncate it when rendering.
In my testing:
og:title 40 chars
og:description has 2 max lengths:
When the link is used in a Post, it's 300 chars. When a link is used in a Comment, it's 110 chars.
So you can either treat it as 110, or, write your Descriptions to 300 but make sure the first 110 is the critical part and still makes sense when it gets cut off.
Here's a good link regarding this topic:
http://www.joshspeters.com/how-to-optimize-the-ogdescription-tag-for-search-and-social
Regarding Facebook it says:
"Right now Facebook only displays the first 300 characters of a description so if your primary audience is on Facebook write your OG:Description tag accordingly."
In my experience 90+ characters get cut off so try to use 90 or less in the description.
Is it possible to localize objects in Facebook's OpenGraph?
My specific goal is having French/English users able to like the same URL or Graph object, while having local-specific descriptions appear in their timelines. So far the only way I can achieve this is having two separate graph nodes, effectively dividing the number of likes in half.
I've attempted to provide English and French versions of my page, with the French version using the English page's URL as its canonical URL, but this results in the French user's having the English page's title/description appear in their timeline.
Is there any way of having both French and English versions of the page while having one shared "like" count?
The detailed docs you want are here:
https://developers.facebook.com/docs/beta/opengraph/internationalization/
In short, you'll want to provide a primary locale in the og:locale tag, and then alternate locales in the og:locale:alternate tag. For each alternate locale, the FB scraper will rescrape the page, but pass in the alternate locale in the fb_locale query string parameter. You should take this query string parameter and provide the appropriate locale-specific meta data.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How does Facebook Sharer select Images?
Want to have share thumbnail when user shares site url using share button on site which uses http://www.facebook.com/sharer.php to achieve that.
Site dose not have img tags, all images are defined in css.
I added meta tags for image:
<meta property="og:image" content="/images/branding/branding-logo.png"/>
and
<link rel="image_src" href="/images/branding/branding-logo.png"/>
but it's not working :(
Use the full list of Open Graph Meta Tags:
og:title - The title of the entity.
og:type - The type of entity. You must select a type from the list of Open Graph types.
og:image - The URL to an image that represents the entity. Images must be at least 50 pixels by 50 pixels. Square images work best, but you are allowed to use images up to three times as wide as they are tall.
og:url - The canonical, permanent URL of the page representing the entity. When you use Open Graph tags, the Like button posts a link to the og:url instead of the URL in the Like button code.
og:site_name - A human-readable name for your site, e.g., "IMDb".
fb:admins or fb:app_id - A comma-separated list of either the Facebook IDs of page administrators or a Facebook Platform application ID. At a minimum, include only your own Facebook ID.
Also use absolute URLs instead of relative!
EDIT:
Please note that Facebook caches webpages for specific periods so you may not notice your changes right away. A good way to check if Facebook is/will actually take your changes is by faking a parameter in your URL.
for example if your URL reads: http://example.com/index.php
Add something like: http://example.com/index.php?123 and then use it in the URL Linter. ;-)
EDIT 2:
You could directly use the Facebook Linter (now called Debugger), but be aware that some data cannot be changed in some cases, described here:
Editing Meta Tags
You can update the attributes of your page by updating your page's
tags. Note that og:title and og:type are only editable
initially - after your page receives 50 likes the title becomes fixed,
and after your page receives 10,000 likes the type becomes fixed.
These properties are fixed to avoid surprising users who have liked
the page already. Changing the title or type tags after these limits
are reached does nothing, your page retains the original title and
type.
Paste your ulr here https://developers.facebook.com/tools/debug/ . The facebook Open Graph Debugger will tell you exactly what is reading from your page. And also will update facebook cache of your page so it can try to read images from it again.
As ifaour said, you have to use absolute URLs or they won't be displayed. The <link> tag should work fine.