FB COMMENTS Graph API v2.3

Phoca modules - support for all Phoca modules except Phoca Gallery modules
ch2856
Phoca Member
Phoca Member
Posts: 20
Joined: 17 Apr 2010, 13:41

FB COMMENTS Graph API v2.3

Post by ch2856 »

Hi,

Is it enough to change in in tmpl/default.php the js.src to ...sdk.js#xfbml=1&version=v2.3&appId=.... to have Graph API v2.3 or should I change the whole script?

Code: Select all

<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3&appId=136508400488";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: FB COMMENTS Graph API v2.3

Post by Jan »

Hi, which module and which version you are using?

Jan
If you find Phoca extensions useful, please support the project
Post Reply