using facebook social link in FB

More
10 years 7 months ago #46183 by ggppdk
Hello

1. the empty og:image
is by the toolbar field that tries to extract from description

SOLUTION: disable og:image in the toolbar field and only enable the "title" and "description"
(i did the above)


2. the duplicate description field is because
something is adding the 'description' of the sharevideo field

do you have some custom code inside your custom template ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #46192 by rottenberg
Hello,

thank you for your corrections.

I have also found the origin of 2 OG:description : To concatenate the main description and the video description field, I have created a field which duplicate both value. The field is called 'description_article'.

the 2 fields had display social site.
I have corrected it.

Now the OG: tab seems to be good :
- 1 title record
- 1 image record
- 1 description record

The pop-up remains false.

I have done a test reinstalling the AddThis module and desabling the toolbar fields.
the problem is the same. I have suppressed now the AddThis module.


Customizing the template : I use copy of the default template. But I have not modified the code.

I use customisation with 'Rereplacer' when needed.
I use specific tags in prefix/suffix.

Tell me if you need other informations.

best regards

Michel

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #46201 by ggppdk
Hello

in r1880, (you can extract from SVN) we have added support for image field in toolbar, thus toolbar will have all needed OGP tags in one place (even if you do not display toolbar, you can still add toolbar in "render only" template position to force the addition of the tags)
thus you can disable social support in description and in image fields

-- also you can create 1 toolbar per content type and assign 1 toolbar to each content type

-- of course if you use same configuration for toolbar field, then you will not need 1 toolbar field per content type

-- we have note that despite these being added facebook does not show them, maybe it is facebook caching, must do some more testing

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #46203 by rottenberg
I have uploaded the RC V1880.

I have unactivated the facebook parameters in all fields except the toolbar displayed at the top of the article.

I have unactivated all social fields in the toolbar displayed at the bottom of the site.

I get all 3 fields for facebook (image, description, title).

As you told the problem remains.

I have done a check with another site where social links is working (using web-expert.gr plugin).

The 1st line of parolevolee source is :
Code:
<html xml:lang="fr-fr" lang="fr-fr">
The 1st line of the other site is :
Code:
<html xmlns:fb="https://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns/fb#" xml:lang="fr-fr" lang="fr-fr" >

Thinking this may be problem, I have done the replacement with Rereplacer.

The change is done, but the problem remains. I have unactivated this change.


I have also a question with the description content.

the value given by the description tag corresponds to core description field content.
For my site I use a field which duplicate core description field and videoshared description field.

I have not seen how to use the field in description field in place of core description field (as it could be done for image field).

To solve the problem I have put the display description to 'NO' and activated the social field as description for the customized description field.

With this modification, I get the content needed in the 'OG' tabs.

Best regards
Michel

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #46210 by ggppdk

rottenberg wrote: As you told the problem remains.

I have done a check with another site where social links is working (using web-expert.gr plugin).

The 1st line of parolevolee source is :

Code:
<html xml:lang="fr-fr" lang="fr-fr">
The 1st line of the other site is :
Code:
<html xmlns:fb="https://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns/fb#" xml:lang="fr-fr" lang="fr-fr" >

Thinking this may be problem, I have done the replacement with Rereplacer.

The change is done, but the problem remains. I have unactivated this change.

i was thinking exactly something like the above to be reason of the problem

just note that when you change your HTML source !

-- then you need to bypass facebook caching of the URL !! , so always add to your URLs:
&aaaa=1
&aaaa=2
&aaaa=3

i will find time to read docs and make tests to fix this

rottenberg wrote: I have also a question with the description content.
...
I have not seen how to use the field in description field in place of core description field (as it could be done for image field).

-- I guess it makes sense to add ability to use other field but i think it is not a priority as it was for allowing selecting an image field


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #46221 by rottenberg
hello

-- I guess it makes sense to add ability to use other field but i think it is not a priority as it was for allowing selecting an image field


For me this problem is not a prior=ity too. I think I have found how to get the description text manually in the 'OG' tabs.

Just for information, the first days I got the title, the image and the text with toolbar.
What's also strange is that even the article title doesn't appear.

As event Addthis module doesn't work, if you agree, I send a post to Addthis forum site to ask them why it's not working

best regards

Michel

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.287 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline