Jump to content

Archived

This topic is now archived and is closed to further replies.

  • 0
m2367

Facebook Open Graph Data Has Default Caspio Text, Trying To Change

Question

Hi,

I used two forum articles to get pretty far in fixing what Facebook sees on a details page that Caspio creates. Could you help me fix this so that specific product details are shown in the Facebook URL preview? I added a script based on Jan's suggestions in these articles and I need help to correct the javascript.


 

When I add a caspio-related details page URL into a Facebook status, it automatically puts gobbledy gook instead of the content that I am trying to specify with OG code.

 


 



Page title

Click here to load this Caspio online database. Click here to load this Caspio online database. Click here to load this Caspio online database. Click here to load this Caspio online database. Click here to load this Caspio online database. Click here to load this Caspio online database.

 


 

From what I can tell, this is because of the embedded code when I use the Wordpress Caspio plugin.


 

It looks like one of the problems is that Facebook believes it knows my canonical URL and is not looking at the product ID parameter to see what OG data is there. 

 

 


 

 


 

I want the data to be specific to each product page and not be generic.

 

 

Here is what I put in the Header data page element. How can this be fixed? I don't see how to modify the Facebook OG code to conform to Jan's javascript provided.  (https://developers.facebook.com/docs/payments/product)

 

 

 

<style type="text/css">

#Mod0EditRecord, #Mod0CancelRecord{

display: none;

}

 

</style>

<SCRIPT LANGUAGE="JavaScript">

window.onload= function() {

document.title ="[@field:product_NAME] | [@field:product_MANUFACTURERorig] | Adjectivs";

head prefix=

    "og:

     fb:

     product: http://ogp.me/ns/product#"

og:title ="[@field:product_NAME] | [@fild:product_MANUFACTURERorig] | Adjectivs";

og:type ="product";

fb:app_id ="259344627418443":


og:image ="[@field:product_IMAGEURL]";

}

 

</SCRIPT>

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Hello m2367,

 

There are two reasons on why Facebook do not display Caspio datapages:

1) 'Facebook post' displays text content of the page. Script of the Caspio datapages loaded after the main page content.

2) Probably Facebook prevent forms to be posted on the wall.

 

You can send request to the Facebook support team.

Share this post


Link to post
Share on other sites

×
×
  • Create New...