I have setup the page thusly:
<div class="oas_box oas_box_btns_lfnm" data-url="http://foo.com" data-title="Foo" data-summary="Bar" data-images="http://foo.com/share.png" data-shorten-urls="false">
<span class="oas_btn oas_btn_facebook" title="Share On Facebook" data-url="http://foo.com?m=f"></span>
</span>
Because we are using interactive pages I render like this:
this.SHARE = function (data) {
var _oneall = window._oneall || [];
_oneall.push(['social_sharing', 'do_render_element', 'oas_box']);
jsqueue.finished(data.PID);
};
The share buttons render fine and the share works. However on facebook for example only shows the param of ?u=foo.com. Linkedin seems to support the description and some the title.
Looking at the initial request to oneall it looks like this:
http://geovey.api.oneall.com/socialize/sharing/bookmark/?opts={"title":"Please take a look at this talking point","title_inherited":false,"url":"
https://dev.tng.sh/X?m=f","url_inherited":false,"summary":"xxxxxxxxxxxxxxxxx","images":"
http://images.tilecache.net/upload/geovey/geovey/xxxxxx-share.png","auto_render":true,"force_refresh":false,"shorten_urls":false,"opt":"","xopts":{},"caption":"Facebook","service":"facebook"}
So we are sending the data but why isn't sharing it on the social sites?
I have tried just now whitelisting the other urls we are using for the images/url shortner but this seem to have no effect.
Regards
Richard
Answers
Facebook has unfortunately disabled the possibility to specify the image and/or description.
Facebook now takes that information from the meta:og tags on your website.
Here you can find more about the tags:
https://davidwalsh.name/facebook-meta-tags