F Connect button frozen when clicked on it. Followed almost all readme instructions. Did uninstall logintoboggan but no luck

Comments

Dave Cohen’s picture

Category: bug » support

Did you try the troubleshooting section of readme.txt?

ragavendra_bn’s picture

Yhaa I just did now. I was trying it in production so didn't try earlier.

I got the pop up box with below message as soon as I enabled devel

fb_devel.js: Facebook JS SDK initialized witout app id

ragavendra_bn’s picture

ohh cool............now I got it.......i had a block with FB like count which had the below code in it

Now I removed it. It works fine.

How to put link to show like numbers of FB page on home page header.........

Dave Cohen’s picture

Status: Active » Fixed

You can leave the <fb:like> tag in your block. Just don't put the <script> tag for all.js. modules/fb will initialize the javascript for you.

korayal’s picture

I don't have a script tag for all.js on a page. But still I am getting "fb_devel.js: Facebook JS SDK initialized witout app id" alert too.

It was working without any problem before, when I was using 6.x-3.0.

Here is my page-source: http://pastebin.com/pZrxhqA0

Dave Cohen’s picture

Sometimes that message pops up because of a race condition, even when there is no problem. I want to fix that, but it should only cause that problem for users with access to devel info. If you're not seeing other problems, you can safely ignore that popup.

korayal’s picture

I have found the solution for my problem;
I was using custom login buttons:

			<div id="fb-connect-button">
				<a href='#' id='login' class='fbconnect-link' />Login</a>
				<script type='text/javascript'>
				    $('#login').click(function(event) {
				        FB.login(function(response) {
				            if (response.session) {
				            	//user logged in
				            } else {
				                // user cancelled login
				            }
 				       }, {perms: 'email'});
				    });
				</script>
			</div>

But when I compare the working button in the "fb_devel block" and the one in the "fbconnect" block:

FB_DEVEL: <fb:login-button  scope="email"><fb:intl>Connect</fb:intl></fb:login-button>
FBCONNECT: <fb:login-button perms="email" v="2">Connect</fb:login-button></div>

When I replaced "perms" with "scope" in my custom code, connect button started to work.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.