Subject: Open Graph Protocol plugin

Posted on: 06/12/2011 08:27am
By: mystral-kk

Open Graph Protocl (OGP) plugin is now available for download at Geeklog.net and my site

The plugin supports Open Graph Protocol(OGP) and allows you to run your Geeklog site in cooperation with web sites supporting OGP such as Facebook by producing <meta property="og:***" content="***"> tags.

Besides, the plugin allows you to display Facebook Like buttons and/or Facebook comments in your articles, static pages, calendar events, link categories, poll items and download files. You can set the kinds of contents in which to show Facebook Like button and/or Facebook comments in Configuration.


Re: Open Graph Protocol plugin

Posted on: 06/12/2011 09:36pm
By: ivy

Supplement:
Please create Facebook application : web application
You can use same application of OAuth support for the site.




Re: Open Graph Protocol plugin

Posted on: 07/12/2011 03:38am
By: ::Ben

Open Graph Protocl (OGP) plugin is now available


Thank you Kenji, this is a very interesting plugin.

Ben

Re: Open Graph Protocol plugin

Posted on: 07/12/2011 03:34pm
By: Laugh

Very interesting ... I will have to check this one out as well.

Re: Open Graph Protocol plugin

Posted on: 17/12/2011 05:13pm
By: mystral-kk

Open Graph Protocol (OGP) plugin v1.1.3 is available now.

After a fresh install of v1.1.2, which happened to be the first version published at www.geeklog.net, an error occurred when you try to set your Facebook user ID and Facebook App ID in Configuration.

Please download a bug-fixed version at www.geeklog.net or at my site.


Re: Open Graph Protocol plugin

Posted on: 18/12/2011 09:22am
By: ::Ben

Thank you for this update.

Ben

Re: Open Graph Protocol plugin

Posted on: 18/12/2011 09:31am
By: mystral-kk

Quote by: ::Ben

Thank you for this update. Ben

Hi Ben,

v1.1.3 is still buggy. I already uploaded a fixed version (v1.1.4) to Geeklog.net, so please be patient.


Re: Open Graph Protocol plugin

Posted on: 18/12/2011 10:07am
By: ::Ben

Yes I needed to change

PHP Formatted Code
$_CONF_VALIDATE['ogp']['fb_user_ids']        = array('rule' => 'stringOrEmpty');
$_CONF_VALIDATE['ogp']['fb_app_id']          = array('rule' => 'stringOrEmpty');


in configuration_validation.php to get it work.

Ben

Re: Open Graph Protocol plugin

Posted on: 18/12/2011 10:14am
By: ::Ben

I download the 1.1.4 archive from your site and still get some javascript errors

PHP Formatted Code

Error : js is undefined
Source : http://www.mysite.Ccom/article.php?story=welcome
Line : 128

and
Erreur : uncaught exception: Error: Permission refusée à <https://www.facebook.com> d'obtenir la propriété Proxy.InstallTrigger


Ben

Re: Open Graph Protocol plugin

Posted on: 18/12/2011 07:43pm
By: mystral-kk

Quote by: ::Ben

I download the 1.1.4 archive from your site and still get some javascript errors

PHP Formatted Code

Error : js is undefined
Source : http://www.mysite.Ccom/article.php?story=welcome
Line : 128

and
Erreur : uncaught exception: Error: Permission refusée à <https://www.facebook.com> d'obtenir la propriété Proxy.InstallTrigger
Ben

Ben, I have no idea why the error message contains "https://www.facebook.com, " since I don't use the HTTPS URL in my code.


Re: Open Graph Protocol plugin

Posted on: 18/12/2011 11:00pm
By: ivy

I uninstalled 1.1.3 and installed 1.1.4 on http://www.geeklog.jp.
It works well, I think.

Re: Open Graph Protocol plugin

Posted on: 19/12/2011 05:09am
By: ::Ben

I have no idea why the error message contains "<strong>https</strong>://www.facebook.com, " since I don't use the HTTPS URL in my code.


Kenji, I send you a link by email to my test site so you can see the error message.

Thanks,

Ben

Re: Open Graph Protocol plugin

Posted on: 19/12/2011 06:45am
By: mystral-kk

Quote by: ::Ben

I have no idea why the error message contains "https://www.facebook.com, " since I don't use the HTTPS URL in my code.
Kenji, I send you a link by email to my test site so you can see the error message. Thanks, Ben

Thanks, Ben. I understand the reason. As a quick fix, change "{return;}" into "{ return; } at lines 856 and 903 of "<geeklog>/plugins/ogp/functions.inc". Geeklog's Template class seems to eat "{return;}" as undefined template variables.


Re: Open Graph Protocol plugin

Posted on: 19/12/2011 07:34am
By: ::Ben

Yes this solved the issue.

Thanks,

Ben

Re: Open Graph Protocol plugin

Posted on: 06/01/2017 08:26am
By: gape

installed this (ver .7) on geeklog 1.8
had some problems with htmlspecialchars - as usual @ did the trick ...
but now when i want to save app_id or user_id
i get errors, lots of them.
PHP Formatted Code
(This text is only displayed to users in the group 'Root')

2 - preg_match(): Delimiter must not be alphanumeric or backslash @ / ...snip... system/classes/config.class.php line 1545

array(15) {
  ["config"]=>
  string(11) "fb_user_ids"
  ["group"]=>
  string(3) "ogp"
  ["value"]=>
  &string(5) "gape8"
and it continues ...


it saves well if i change
' Your site's default image '


was hoping to get fields for each article - to fix their og:image ... and similar

looks like this plugin is not for that purpose ?

Re: Open Graph Protocol plugin

Posted on: 08/01/2017 08:49am
By: gape

cant edit any more, but now i saw it adds og: lines to each article
is it possible couse i enabled Meta tags ?
maybe just didnt notice it before

i like

but still have problems couse cant save id's in settings

Re: Open Graph Protocol plugin

Posted on: 13/01/2017 11:39am
By: gape

again cant edit older posts :/
fond what was wrong with id's

now i can't save changes i make in

Kinds of Contents
Types

(the last thing in configuration)

Re: Open Graph Protocol plugin

Posted on: 13/01/2017 12:10pm
By: Laugh

Hi Gape,

Did you try contacting mystral-kk directly via email? (he is the author of the plugin right?) Not sure if he can help you as it looks like you are using an really old version of Geeklog and plugin.

Tom

Re: Open Graph Protocol plugin

Posted on: 13/01/2017 10:06pm
By: mystral-kk

Hi, gape, sorry to be late to find this thread. The current version of OGP plugin is 1.1.8, , which will run on GL-1.6.0 and PHP-7. You can download it from HERE.


Re: Open Graph Protocol plugin

Posted on: 17/02/2017 06:08am
By: gape

tried to upload new plugin, didnt disable old one first, and now my
admin/plugins.php
is blank :/

then i tried to find detailed instructions how to upgrade the plugin - couldnt
then i tried to find detailed instructions how to upgrade ANY plugin - couldnt

HELP PLS

ps
couldnt find the changelog either to c if there is anything i need in new plugin :/

found it Big Grin
1.1.8 2017-01-10 Fixed to work with PHP-7 and Geeklog-2.1.2.

(fresh install on other site 1.8 too, went thru ok - i added the @s and ziped it again before i uploaded the plugin)

so i must of gone wrong on the update protocol ? :/

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=93718