answerstu

how to make official Facebook unity plugin work friendly with prime31 unity plugins

As far as I know, if I choose official facebook unity plugin, then a few prime31 unity plugins for android would be broken because they all override the main Unity Activity. Because there are many prime31 plugins but only one official facebook plugin, so an ideal solution would be that only changes to facebook plugin is applied.The question is: how? Does anyone have experience on this?Best,Raven...Read more

Page reloads after loading a connected FB account using Facebook Login Plugin

I have the following code:<html xmlns:fb="http://www.facebook.com/2008/fbml"><head> <title></title></head><body><div id="fb-root"></div><script> window.fbAsyncInit = function() { FB.init({ appId : 'APP_ID', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); // Additional initialization code here }; ...Read more

Facebook plugin don't show right when user is logged as a page

I have noticed that Facebook plugin don't show right when user is logged as a page.The plugin shows a message that sound like "Back to USER to use this plugin".I want to show the plugin only if my visitor is a USER (not a page or app).I implemented the code according to the specifications of facebook, but I can not find the php or javascript snippets that allows me to create this filter.Can someone help me? thanks...Read more

caching - Is the cached fb:admins property reloaded by Facebook automatically?

We allow users of our website to place the Facebook comments social gadget on their own public part of our website. At the time the gadget is placed we do not necessarily know their Facebook user ID. Thus at first Facebook will logically not associate any admins with the comment gadget. When a user decides to enter his Facebook user ID later on, we add this via the fb:admins meta-tag. However, the already placed comment gadget will not directly reflect this!I know I can update this by entering the canonical url of the comment gadget in the Face...Read more

How to make a facebook like plugin on your html website?

I am trying to make a plugin in my website just like this one : I am using this code. It includes the script : <div id="fb-root"></div><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_GB/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script>and this :<div class="fb-like" data-href="htpp://www.my-site.com/" data-width="600" data-hei...Read more

plugins - Access denied Error when implementing facebook Like Button

I'm trying to implement facebook Like button on my website, it's not showing on my screen, but works well when viewed on other peoples screen. http://goo.gl/nj5UU . I also got this error in Google Chrome Inspect Element feature Failed to load resource: the server responded with a status of 403 (Access Denied) http://connect.facebook.net/en_US/all.jsPlease how can I make the plugin show on my screen....Read more

Whats wrong with my facebook like button (fb plugin)

Now and again when the page refreshes (about 1 in 3) my facebook like button goes all weird and glitchy as seen in this image...This is the code i am using to show the button (with PAGE_URL as actual URL):<fb:like send='false' layout='standard' href='PAGE_URL' width='500' show_faces='false' font='tahoma'></fb:like>All the javascript SDK is correct and the like button works, it just does that weird thing shown in the image.Anyone know why this is?...Read more

plugins - Facebook Facepile - Get the number of friends in the list

I have a page with the facepile plugin working. What I want, is to get the number of friends being displayed to each user. If it's empty (zero friends), I want to show an image. If there are more than 10 friends, I want to show a different graphic. Is this possible? I've tried using jQuery to get this number (after the iframe loads):var friendsCount = $("li.uiFacepileItem").length;But that isn't working... Any other ideas?...Read more

preg match - preg_match Facebook Photo URL

im realy sucking in preg_match things.I realy hope someone can help me.I want to check the url for the bold text this -> http://a2.sphotos.ak.fbcdn.net/*somechars.jpgI have a form, where user can post Picture. But i only want, that they can post pictures from Facebook Foto. I alredy check the link, if it is .jpg/.jpeg/png.$is_pic = (bool) preg_match('/\.(jpe?g|png|gif|w?bmp|e)\z/i', $path_parse);$file_type= ".jpeg, .jpg, .png";if ($is_pic == true && strcmp ($pathparts['filename'], $file_type)) {....}Can plz someone help me with the face...Read more