For instance, if they use a public computer.
I solved the problem. I did not init the FB object properly. I now moved the
FB initialization code into my template head section like shown below and
this works well.
<head>
<?= $this->headTitle($this->pageTitle) ?>
<?php $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;
charset=UTF-8'); ?>
<?= $this->headMeta() ?>
<?php $this->headLink()->headLink(array('rel' => 'icon', 'type' =>
'image/png', 'href' => $this->staticUrl() . '/images/icon_64x64.png'),
'PREPEND'); ?>
<?= $this->headStyle() ?>
<?= $this->dojo() ?>
<?php $this->headLink()->appendStylesheet($this->cssFile('default')); ?>
<?= $this->headLink() ?>
<?php
$this->headScript()->appendFile("http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php");
?>
<?php $this->headScript()->captureStart() ?>
FB.init("7ae43a10c0dc4d6160636ca829a5e7c6");
FB.ensureInit(function() {});
<?php $this->headScript()->captureEnd() ?>
<?= $this->headScript() ?>
</head>
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Zend-Framework-and-Facebook-Connect-tp2017688p2020446.html
Sent from the Zend Framework mailing list archive at Nabble.com.