Jump to content
  • 0

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


m2367

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>

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...