79 Responses to Google FriendConnect API

  1. webdesign
    By webdesign on 12 March, 2009

    Nice possibility for FriendConnect i will be looking to implement it soon :) Do you know if alot of users already make use of this ? or do they have to make a Friendconnect account ?

  2. Chung Bey Luen
    By Chung Bey Luen on 12 March, 2009

    Great plugin, thanks.

  3. JoostdeValk
    By JoostdeValk on 12 March, 2009

    Let’s see what happens now.

  4. LeeRobertson
    By LeeRobertson on 12 March, 2009

    Wow that was fast!

    Trying it out now.

  5. Elendil
    By Elendil on 12 March, 2009

    One question, how to made for, when I click in a nickname, go to profile of Google Friend Connect?

    • Joost de Valk
      By Joost de Valk on 12 March, 2009

      I’m afraid I’m not fully sure I get your question right, but it takes you to the google friendconnect profile on the current site at the moment, as the API doesn’t give back more data yet… As soon as they return other URL’s, I’ll start using those.

  6. Elendil
    By Elendil on 12 March, 2009

    I see, thanks for this plugin!

  7. AnneJanRoeleveld
    By AnneJanRoeleveld on 13 March, 2009

    It works very well! Thanks for sharing this.
    An issue to solve: the nickname is written without spaces between your first and surname.

    • Joost de Valk
      By Joost de Valk on 13 March, 2009

      Yeah I know, I’m looking into what’s causing that :)

  8. donnacha
    By donnacha on 13 March, 2009

    So, could the same post give people the choice of signing in with either Google FriendConnect or Facebook Connect if you also used the Facebook Connect plugin?

    • Marc
      By Marc on 13 March, 2009

      Joost, if you could make a plugin to do this, it would be greatly appreciated.

      The Facebook Connect plugin for WordPress listed on http://wiki.developers.facebook.com/index.php/WP-FBConnect isn’t very good at all.

      TechCrunch has a much better implementation of Facebook Connect, but it looks like they’re using their own custom WordPress plugin.

      • Joost de Valk
        By Joost de Valk on 13 March, 2009

        Isn’t TechCrunch using the plugin those Spanish guys wrote? I think they’re called Sociable (exactly like my plugin is).

      • BillyVierra
        By BillyVierra on 14 March, 2009

        While I like the idea of having a Facebook Connect plugin as well, I think that it would be a better idea to get Google to add it in to their code, kind of like you have both AIM and Yahoo as well in this code… I know this is wishful thinking but it makes a lot more sense than having multiple plugins that in reality all do the same thing with different sites :)

      • Marc
        By Marc on 16 March, 2009

        I don’t think TechCrunch is using Sociable. I remember reading a comment from one of the TechCrunch guys a few months ago saying that they did the implementation in-house.

    • Morgaine
      By Morgaine on 27 July, 2009

      I use this plugin in combination with the RPX plugin, which provides my visitors with oodles of ways to sign in, among which Facebook and Twitter. Just added the Google Friend Connect plugin today, but it seems to be working fine.

  9. Marc
    By Marc on 13 March, 2009

    I was wondering what’s the difference between this plugin and http://code.google.com/p/google-friend-connect-plugins/wiki/WordPressPlugin ? It looks like they do the same thing?

    • Joost de Valk
      By Joost de Valk on 13 March, 2009

      Mine is based on that code but has loads of improvements already, as well as a backend for you to enter your FriendConnect ID etc. Check the full changelog here.

  10. Joe
    By Joe on 15 March, 2009

    I just want to test whether or not my Gravatar shows up when i Don’t sign in theu FriendConnect.

  11. Joe
    By Joe on 15 March, 2009

    I just want to see if my Gravatar shows up when i Don’t sign in thru FriendConnect.

    • Joost de Valk
      By Joost de Valk on 15 March, 2009

      Hey Joe, apparently it doesn’t… I’ll check what’s causing this bug in the FriendConnect plugin.

    • Joost de Valk
      By Joost de Valk on 15 March, 2009

      Ok I’ve just fixed it :) thx for helping me notice the bug, 1.0.3 on it’s way!

      • EvertJan
        By EvertJan on 15 March, 2009

        That’s quick! I’ve implemented it on Onbezet.nl now. Thanks.

  12. pala
    By pala on 15 March, 2009

    no .css file in 1.0.3?

    • Joost de Valk
      By Joost de Valk on 15 March, 2009

      No the css has been reduced to two lines, and is added in the head, to save a file call.

  13. Joe
    By Joe on 15 March, 2009

    Wow, you are awesome! Nice, quick turnaround on that one. Maybe Google should pay you. :)

  14. Evert Jan
    By Evert Jan on 15 March, 2009

    Btw, it seems that “Notify me of followup comments via e-mail” is not working when using GFC when replying, since it uses a @friendconnect.google.com address to subscribe.

    • Joost de Valk
      By Joost de Valk on 16 March, 2009

      No it won’t work, I’m checking to see whether there’s a way to disable it when you’re logged in through FriendConnect.

  15. Showbiz Intriga? Get It From Boy!
    By Showbiz Intriga? Get It From Boy! on 15 March, 2009

    does not work for me. says it has a broken fc something on directory..error manifests in ALL comments. commenter name is replaced by the error message.so i disabled it. and everything is back to normal. i hope you fix this. i really like the idea behind this plugin.

    • Joost de Valk
      By Joost de Valk on 16 March, 2009

      please copy paste the complete error message here, and I’ll look into it :)

  16. Joe
    By Joe on 16 March, 2009


    Great work, I love the plugin, One thing: I cannot seem to get the Friend Connect user avatars to appear in my comments list. Any idea why? It seems to default to the Gravatr icon now for ALL users.

    • Joe
      By Joe on 16 March, 2009

      I am using the typical gravatar code to display them, as shown: “”

    • Joe
      By Joe on 16 March, 2009

      Ok that didn’t display properly, sorry: get_avatar( $comment, $size = ’50’)

      • Joost de Valk
        By Joost de Valk on 16 March, 2009

        Hmm that’s weird, echo get_avatar($comment,$size='48' ); works here, as you can see, as people have FriendConnect avatars too… Any error in either the page of the error log?

      • Joe
        By Joe on 16 March, 2009

        Nope, no errors at all. Gravatars work fine, as per your fix, but the Yahoo avatars on the actual comments is not working.

      • Joe
        By Joe on 16 March, 2009

        Here is an example: the one comment on this page, from “kgboogie”, is via FriendConnect…but as you can see the avatar is defaulting to the “grey man” icon, while this particular FC user DEFINITELY has an icon, as they noted it did in fact display below the comments box after signing in: http://www.terracurve.com/2009/03/06/belize-resorts-show-off-its-underwater-paradise/#comment-1774

      • Joe
        By Joe on 16 March, 2009

        Hey man, any ideas? I am desperate here…I tried re-editing my comments.php file to its original state, but even that didn’t work. What could I possibly be missing?

      • Joe
        By Joe on 18 March, 2009

        Any word on this issue? I understand I may very well be the only one experiencing this, but cannot seem to figure out what may be the cause. Do you know of any JavaScript or other plugins that may be causing a conflict?

  17. Mark
    By Mark on 16 March, 2009

    Hey Joost!

    Fantastic work here, well done! I have a question though, I would love to know if what the best Facebook Connect plugin is out there, cos the spanish one and the official Facebook one is not that great..

    Thank you very much!

  18. T3MEDIA
    By T3MEDIA on 16 March, 2009

    There is one that works with plaxo… Its more of a hack than anything else.
    With it… you have people sign up from a smorgasbord of websites.

  19. JoeAscanio
    By JoeAscanio on 16 March, 2009

    Just want to see if the FriendConnect icon appears beside the comment…it won’t work on my blog!

    • JoeAscanio
      By JoeAscanio on 16 March, 2009

      is anyone else having this issue?

  20. Evert Jan
    By Evert Jan on 17 March, 2009


    When I am not logged in through GFC, I see only 16 replies on this page instead of 41! Is this a feature or a flaw?

    • Evert Jan
      By Evert Jan on 17 March, 2009

      And now that I logged out from GFC, I do see all comments. I had never logged in to GFC from this PC before and I didn’t see all comments until I first logged in. After logging out, I still see all comments. Strange huh?

    • Evert Jan
      By Evert Jan on 17 March, 2009

      Unfortunately, I cannot reproduce this. Even after deleting cookies, I can’t find anything wrong now. I am lost… ;)

  21. Peter
    By Peter on 17 March, 2009

    BUG: Your blog does nothing. if I login with the FriendConnect, is refreshed only.

  22. PeterBicsak
    By PeterBicsak on 17 March, 2009

    Problem: This e-mail address I use both systems. (gravatar and GFC)

  23. shibuya246
    By shibuya246 on 18 March, 2009

    when i sign in on your webpage under the POST YOUR COMMENT button, it loaded my details and then refreshed the entire page and focused me back at the top. Is that supposed to happen? I have the same issue when I implemented on my own site and got an endless loop refresh somehow.

  24. Joe
    By Joe on 18 March, 2009

    Testing Gravatar again.

  25. shibuya246
    By shibuya246 on 19 March, 2009

    How can we also use this plugin to have a full login for the site rather than just the comment section?

  26. Joe
    By Joe on 21 March, 2009

    Has support for this plugin stopped?

    • Joost de Valk
      By Joost de Valk on 21 March, 2009

      No certainly not, looking into some bugs right now, unfortunately (well actually, luckily :) ), I have a full time job so my time to code is limited.

  27. Joe
    By Joe on 21 March, 2009

    I completely understand, I am in the same boat!

  28. shibuya246
    By shibuya246 on 22 March, 2009

    idea – would it make sense to save the GFC ID as a separate field in the table as well?

  29. Ricky
    By Ricky on 25 March, 2009

    There is a weird bug that was happening when I tried to login to your site yesterday and is happening on my site today. Someone else looks like they are having the same issue. When you login, GFC says “Settings, Invite, Loading Profile…” as soon as it starts to load, the page refreshes and it gets caught in an endless loop. Do you know how to fix the issue?

  30. Ricky
    By Ricky on 25 March, 2009

    I believe the part causing issues has something to do with

  31. Caneblu
    By Caneblu on 28 March, 2009

    Hi Joost, thanks for the great plugin. Three questions, you provide friendconnect.js on package.. why? is different from original hosted at Google?
    Is not better use the original one, also for caching improvements?
    Thank you :)

  32. DavyWolf
    By DavyWolf on 29 March, 2009

    I have enabled the Google friend connect wordpress plugin on my site isoar.info, but it’s not showing the gravatars.

  33. Joe
    By Joe on 5 April, 2009

    Still unable to get the plugin to display Gravatars OR Google Friend Connect avatars…..

  34. RobertWallis
    By RobertWallis on 6 April, 2009

    It’s great that you are putting so much effort into this plug-in. The major problem with Friend Connect is it’s lack of penetration. As soon as all the wordpress installations get a sniff of the benifits it will ramp up the user base and that’s when things will really take off.
    Although the site I run isn’t wordpress based efforts like yours will help up all out in the long run.
    Cheers and thanks!

    • RobertWallis
      By RobertWallis on 6 April, 2009

      Note to self… scan for typos before hitting post!

      Seems to work great though.

      The only gripe I have isn’t with the plugin, but with your canvas page.
      Why don’t you style it so it fits in with the site?
      I’m sure that as friend connect evolves, allot of interaction and exploring will take place on the “canvas.html” page.
      Getting it to “fit in” is only a 5min job!


  35. Carrie
    By Carrie on 8 April, 2009

    I am working on a website for a friend and I am getting this funky error when trying to activate the plugin:

    Cannot redeclare fc_wp_get_avatar() (previously declared in xxx/xxxx/public_html/wp-content/plugins/wordpress/src/fc_plugin.php:54) in xxx/xxxx/public_html/wp-content/plugins/friendconnect-1.0.3/fc_plugin.php on line 98

    Was wondering if anyone else had this problem.

  36. Carrie
    By Carrie on 8 April, 2009

    OOps never mind, this is what I call a blonde moment of the day!

    I saw that I had the google wordpress plugin still in the plugin directory. Once I erased it. It worked. Thanks for the great plugin!

  37. drcypher
    By drcypher on 20 April, 2009

    I think I will install this plugin too :)

  38. 24Seven
    By 24Seven on 25 April, 2009

    Hope your plugin works better than the one offered from the GFC link. Will give it a shot.

    • 24Seven
      By 24Seven on 25 April, 2009

      Fits like a Glove – Great Work!

  39. Kate
    By Kate on 7 May, 2009

    I just started a new blog that I put live tonight. I also installed GFC for the first time, in addition to installing your plugin. But, while the GFC widget is showing up in the sidebar, the “Sign In” button (from the plugin) is not. I did a view source and I see that the plugin code is being generated in the header. Any idea what might cause the button to not show?

    It may be a simple answer… I’m just not familiar enough with it to know! :) Any help would be appreciated.

    • Michael
      By Michael on 10 May, 2009

      You might try going into “Discussion” under “Settings” in your admin panel and unchecking the “Must be a registered user and logged in to comment” box. I had to do this to get the button to appear, but in all honesty, I was using the GFC plugin that is hosted and shown on the google friends connect web page. (I also used Joost’s plugin before I tried the google GFC plugin and got the same result….that is, button doesn’t show when the “Must be a registered user….” box is checked.) One of the things Joost stated when he advertised his plugin is that we could have this option…having registered and logged in users. Joost, if you’re reading this, please fix this because I really NEED this for my site. Also, I would really like to use your plugin because it’s pretty straightforward compared to the other GFC plugins.

      • Kate
        By Kate on 10 May, 2009

        Thanks for the tip, Michael. I already have it unchecked, though. Hmmm…. Hope I get it figured out. I’m planning on looking at it again today. Thanks again!

  40. Kate
    By Kate on 10 May, 2009

    I should clarify/update: I just checked again, and I didn’t see anything in the header. (Is there supposed to be?) I could’ve sworn I saw something the other day. Thanks in advance for any help!

    • Kate
      By Kate on 11 May, 2009

      Sorry, one more update. I was running the site through the validator, and I noticed that some of the code from the plugin is indeed being generated. Here’s a snippet from the end:

      Thanks again for any help you can provide!

      • Kate
        By Kate on 15 May, 2009

        Sorry about that… I was trying to show that a break tag and a div with the id “profile” were being generated when the plugin is activated. But, that is the only “extra” markup that I see in the code. Still no Google Sign In button. I’m having more people join the site and I’d like to get this sorted out. Again, I appreciate any help! :)

  41. Nick
    By Nick on 23 May, 2009

    Has there been any resolution to the ‘page constantly refreshes’ problem? Would really like to get this great plugin working on my site!

  42. Matt
    By Matt on 31 May, 2009

    Hi there, I love the idea of this plugin, but I can’t seem to get it to work. All it seems to do is disable the commenting function. I’m using a revolution theme; is it possible that the plugin isn’t compatible with that particular theme..?

  43. Caleb
    By Caleb on 11 September, 2009

    Hmm, for some reason this isn’t working for me. When I require registration to comment, all I get is the “You must be logged in to post a comment” message. There’s no GFC login or anything.

    In your instructions you say to add “” right after the ” You must be …” area in comments.php. However, in my theme comments.php doesn’t contain this line. The line is instead located in comments-form.php

    So I modified comments-form.php like so:

    You must be <a href="/wp-login.php?redirect_to=”>logged in to post a comment.

    But I’m still not having any luck. The user is only directed to create an account on the site, not a GFC account. Any ideas?

    • Caleb
      By Caleb on 11 September, 2009

      oops, looks like the comment form stripped out my code.

  44. Jerome
    By Jerome on 14 September, 2009

    Hi, I am using wp-framework 2 theme for wordpress. I installed your plug-in and I entered my information in the back-end. What is suppose to happen now? I don’t see that sign-in button anywhere on my pages or next to my comment form. ???

  45. forhair
    By forhair on 19 October, 2009

    Thank you for this information, very useful.

Check out our must read articles about Analytics