template open graph problem ?

GK User
Mon Dec 05, 2011 7:06 am
Hello,

I am using world news ii template. When i want to share a content to facebook,
For example:

Address is that: http://www.xxx.com/content.html
But Facebook takes: httpS://www.xxx.com/content.html

Check this pls:
original address:
--> http://localhost/test/index.php?option= ... Itemid=227

When i open the source codes, i saw this lines:

<meta property="og:title" content="Once Egypt's strongman, Mubarak's long fall" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://localhost/test/index.php?option=com_content&amp;view=article&amp;id=52:once-egypts-strongman-mubaraks-long-fall&amp;catid=26:africa&amp;Itemid=227"

As you see my <meta property="og:url" content starting with https:// but my adress is http. I don't use any extension for open graph.

When i change the template with standart joomla template, everything is normal. What can i do for change this line with http ?
This is a gavern framework issue ?

I am waiting for your reply.
Thank you
User avatar
Fresh Boarder

GK User
Mon Dec 05, 2011 7:47 am
Hi,

I checked with our demo site but didn't see the same issue http://easycaptures.com/fs/uploaded/639/1230702734.png

Do you have your site live then I can check for you?
User avatar
Platinum Boarder

GK User
Mon Dec 05, 2011 3:17 pm
Hello,

When i setup the quicksetup, it gives same error.
Ok where can i send my ftp and admin information for your check ?
User avatar
Fresh Boarder

GK User
Tue Dec 06, 2011 1:48 pm
Please submit a ticket to provide me with the info then let me know the ticket ID, I will check for you.

Thanks,
User avatar
Platinum Boarder

GK User
Wed Dec 28, 2011 1:21 pm
I have the same problem. http://www.la-casa.nl/restaurant If there is a solution could did be published?

Regards,

Jesse
User avatar
Fresh Boarder

GK User
Wed Dec 28, 2011 3:56 pm
Hi guys,

You can try this solution:

- Open file: \templates\gk_twn2\html\com_content\article\default.php

- Find this code:
Code: Select all
$cur_url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];

- Change to:
Code: Select all
$cur_url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
User avatar
Platinum Boarder

GK User
Thu Dec 29, 2011 12:54 pm
Thanx, now it works. The only problem is that he put an image on the facebook page. In my case it's a youtube logo and on the demo page of the gavick site: http://demo.gavick.com/joomla16/jan2011 ... Itemid=104 it is a printer icon. Can you tell me how to change this.

example : http://www.facebook.com/#!/profile.php? ... 1545511735

There you see the youtube icon.

Regards,

Jesse
User avatar
Fresh Boarder

GK User
Thu Dec 29, 2011 1:50 pm
Hi Jesse,

It's a problem from Facebook service. Please download and install GK Opengraph plugin to solve this issue, you can find it in rest files package of the template's download section.
User avatar
Platinum Boarder

GK User
Sat Dec 31, 2011 1:02 pm
I installed the plugin but it still generates a random image from the page. It's not overruling the settings. Is there something else I could do. These are the pages with the like buttons:

http://www.la-casa.nl/restaurant
http://www.la-casa.nl/hotel
http://www.la-casa.nl/menukaart-la-casa
etc.

Regards,

Jesse
User avatar
Fresh Boarder

GK User
Mon Jan 02, 2012 1:10 pm
Hi,

After installing and activating the plugin, it would allow you to choose image to display on FB share for each article, please check http://easycaptures.com/fs/uploaded/402/4465342064.png
User avatar
Platinum Boarder

GK User
Fri Jan 13, 2012 1:06 pm
Hi,

I tried it but it won't work. I uploaded an image for every page but it still showes the wrong images.

I hope you will have an solution for me.

Regards,

Jesse
User avatar
Fresh Boarder

GK User
Sat Jan 14, 2012 10:41 am
Hi Jesse,

Can you PM me your backend and FTP access then I can take a look on the issue?
User avatar
Platinum Boarder

GK User
Tue May 01, 2012 9:43 pm
Hy friends,
i have same problem with Open graph plugin... in some aricle he works in some he not..

for example...
this one in not work: http://topguze.com/world-models/135-brenda-marilin
this one is OK: http://topguze.com/world-models/131-kelly-brook


is it possible someone to help me?

tnx

my site: topguze.com
joomla 2.5
User avatar
Senior Boarder

GK User
Wed May 02, 2012 4:28 pm
Hi cipella,

I would like to help you but I need FTP and backend access to check further into the site and its code. So please provide by sending me a PM.

Thanks,
User avatar
Platinum Boarder

GK User
Thu May 03, 2012 1:28 am
I have send you PM!

tnx :)
User avatar
Senior Boarder

GK User
Thu May 03, 2012 3:48 pm
Hi buddy,

I think it's alright now, can you check and confirm the same?

Thanks,
User avatar
Platinum Boarder

GK User
Thu May 03, 2012 4:20 pm
User avatar
Senior Boarder

GK User
Thu May 03, 2012 5:01 pm
Hi,

I checked source code and see they are all alright now. For example, with the first link http://topguze.com/world-models/135-brenda-marilin
If you check its source code you will see all Opengraph parameters all loaded:
Code: Select all
 <meta property="og:title" content="Brenda Marilin" />
  <meta property="og:type" content="article" />
  <meta property="og:url" content="http://topguze.com/world-models/135-brenda-marilin" />
  <meta property="og:image" content="http://topguze.com/images/World/600full-brenda-marilin-6.jpg" />
  <meta property="og:site_name" content="TopGuze" />
  <meta property="og:description" content="Brenda Marilin" />

So, it's weird when FB doesn't show the image. I can't check it because FB is restricted here in my country, I guess it may be an issue of cache from FB, try using debug tool to clear cache to check if it helps, you have to do yourself because I can't access FB as I told :D
Link to check: http://developers.facebook.com/tools/debug

Go to there and paste the link then click Debug button (if I don't remember wrong), it will clear cache data of that page in FB server, then go to your FB page and test share the link again.

Cheers,
User avatar
Platinum Boarder

GK User
Thu May 03, 2012 5:16 pm
i debug and i get this kind of error: pic attached... something like More Than One OG URL ?

http://www.sendspace.com/file/64aw8g

i have problem to upload pic :( here! so pic is on the sendspace link
User avatar
Senior Boarder

GK User
Thu May 03, 2012 7:17 pm
but it seems to work now tnx :)
User avatar
Senior Boarder

GK User
Fri May 04, 2012 4:40 pm
Cool, if it works then we don't need to worry about that problem :D

Cheers,
User avatar
Platinum Boarder


cron