Topic-icon Controlling 'sent' text and images

Active Subscriptions:

None
11 years 3 weeks ago - 11 years 3 weeks ago #32710 by kiwi2b
Hi there, how to control what Facebook info gets attached to a shared when the send button is clicked??

I want to share an article that has had the send button attached to it using your plugin. But when I click to send, it takes an image from elesewhere in the website that is unrelated. How to control it so it attaches a default image, or none?

And a similar problem for a send button attached to an image in a module. It's taking the text from the mission entry in Facebook, not from the description text. The only way I can get it to use the description is to delete the mission text. What do you think?

Thanks for sure again.
Last edit: 11 years 3 weeks ago by kiwi2b.
The topic has been locked.
Support Specialist
11 years 3 weeks ago #32718 by alzander
The text and image used should be coming from the Open Graph tags that are set on the page. Those tags are usually set by JFBConnect automatically. If there's an Open Graph plugin for the component on that page, that will help generate even better tags (for Joomla Content, K2, JomSocial, etc). If you haven't already installed the Open Graph plugins appropriate for your site, that may help.

To specifically set the tags for a page, you can set the data by adding the following tags into the page that is being "sent":
{SCOpenGraph description=Description for the page}
{SCOpenGraph image=http://yoursite.com/link-to-image}
Those tags can be added anywhere in the page (article content, custom module, etc). Once set, it can take Facebook a few days to 'see' the changes, but you can use the Facebook URL Debug Tool to test the changes immediately.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 weeks ago #32736 by kiwi2b
Hi there, I used and tested your code and it looks great now. Just a few days for FB to see it I guess. Thanks for the quick fix, much needed.

Just looking at the JFBC OpnGraph plugin, to do it all properly, so a basic question. You have a content and a custom plugin in the install folder. What's the difference??
The topic has been locked.
Support Specialist
11 years 3 weeks ago #32744 by alzander
First off, we're working on better docs for the Open Graph and more videos to demonstrate everything. A lot of those updates should be available in May.

As for the differences in those two plugins:
* Content - This is for Joomla articles and category layouts. It is aware of how Joomla content works and knows how to fetch the image, title, and description automatically so you don't need to configure anything.
* Custom - This is mainly meant for extensions we don't support as well as a 'clean' plugin that can be used by developers to create their own support. In general, don't use this one unless you've gotten other Open Graph going and know what you're doing. This is 'advanced'.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 2 weeks ago #32857 by kiwi2b
Hi again, I've had the code to control the text and image up for five days now, but still the share button is producing the wrong image and description, not the one I have chosen using the code.

All looks okay in the facebook url debug tool: the code shows the text and image that I want. I've put the code into a module in the copyright postion. Although Facebook can see it according to their debugger, I can't see it in the source code.

What do you think? Any way to get them to notice, so we can get our sharing campaign started? Or just more patience required?!
The topic has been locked.
Active Subscriptions:

None
11 years 2 weeks ago #32896 by kiwi2b
Just to say, right after I made that last post, I checked again and Facebook had noticed the code! So all fixed thanks.
The topic has been locked.
Support Specialist
11 years 2 weeks ago #32906 by alzander
Hehe.. isn't that how it always works :) I'm glad to hear that got you going. Patience is always hard to come by with social networking stuff, we understand.

As always, if you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.