Robert1995 Posted March 11, 2012 Report Posted March 11, 2012 (edited) Includeti fisieru, eu il foloseam ca partiala sa pun pe facebook ceva de genul User did X pe site-ul X apoi sa il trimit de acolo undeva, have fun.De mentionat trebuie sa aveti inclusa libraria javascript de la gigya <script type="text/javascript" src="http://cdn.gigya.com/js/socialize.js?apiKey=<?php echo $this->config['apiKey'];?>"></script> <script type="text/javascript"> var conf= { APIKey: '<?php echo $this->config['apiKey'];?>', } </script>Key de dev : 2_Y82PzwJ_chSFImHXaIDJClnLyJzmk-VFOavSsaNTzl6m901s_NNxRAS0xJ3bd3_N<?phpif(!isset($this->title,$this->link_back,$this->description,$this->redirect_link)){ throw new Exception("Invalid parameters set to facebook post to wall");}?><script type="text/javascript">// Constructing a UserAction Objectvar act = new gigya.services.socialize.UserAction();act.setActionName("Test");act.setTitle("<?php echo $this->title;?>"); // Setting the Titleact.setDescription("<?php echo $this->description;?>"); // Setting Descriptionact.setLinkBack("Read More", "<?php echo $this->link_back;?>"); // Adding Action Linkvar params ={ userAction:act, callback:redirect_user_to_post};function redirect_user_to_post(){ window.location = "<?php echo $this->redirect_link;?>";}// Publishing the User Actiongigya.services.socialize.publishUserAction(params);</script> Edited March 11, 2012 by Robert1995 Mispell Quote