WordPress.org

Ready to get started?Download WordPress

Forums

[plugin: Simple Facebookc Connect] - Publish, share, connect buttons disappeared (2 posts)

  1. michaelwsherman
    Member
    Posted 2 years ago #

    Hi,

    I'm using Simple Facebook Connect on my blog (pcsa.michaelwsherman.com), and today I noticed that the "Share", "Connect With Facebook" and publishing(to wall and application) buttons are broken.

    The "share" buttons (which I manually place on each post) are missing entirely. The "Connect With Facebook" button has been replaced with the text "Connect With Facebook" and the publishing buttons have been replaced with "If you can see this, then there is some form of problem showing you the Facebook publishing buttons. This may be caused by a plugin conflict or some form of bad javascript on this page. Try reloading or disabling other plugins to find the source of the problem."

    Like buttons are still working, so I don't think it's a configuration problem. I was playing around with my site yesterday, trying to solve a seperate problem with SFC not displaying the "Connect With Facebook" button, but everything was working when I stopped fooling around yesterday (except the Login with Ajax problem), so something happened which changed things.

    I've seen this problem before, but just in a single browser (Firefox on Ubuntu), but reinstalling firefox fixed it. Now I'm seeing the problem in Firefox and Opera on Ubuntu as well as Firefox and Chrome on Vista. For whatever reason, it appears to be showing the buttons in Opera Mini. That makes this all especially confusing.

    When I load a blog page with "share" and "connect with facebook" buttons, or when I load an admin page with the publishing buttons, this is what the firefox error console gives me (it gives me the same error for both pages):

    Error: missing ) after argument list
    Source File: http://static.ak.connect.facebook.com/connect.php/en_US/js/Api/CanvasUtil/Connect/XFBML
    Line: 67, Column: 2700
    Source Code:

    FB.subclass('FB.UI.Popup','FB.UI.UIElement',{init:function(){this._placement=FB.UI.PopupPlacement.center;this._offset=FB._create_Point(0,0);this._popupHeight=-1;this._popupWidth=-1;this._super();},setContentWidth:function(a){this._popupWidth=a+FB.UI.Popup._borderSize;},setContentHeight:function(a){this._popupHeight=a+FB.UI.Popup._borderSize;},getContentWidth:function(){if(this._popupWidth<0)return -1;return this._popupWidth-FB.UI.Popup._borderSize;},getContentHeight:function(){if(this._popupHeight<0)return -1;return this._popupHeight-FB.UI.Popup._borderSize;},show:function(){if(!this._loadedInDom){FB.UI.UIElement.addCssClass(this.get_domElement(),'fb_popup');FB.UI.Popup.get__popupContainer().appendChild(this.get_domElement());this._loadedInDom=true;}this.sizing();this.onAfterShow();},sizing:function(){if(!this._loadedInDom)return false;if(this._popupWidth>=0)this.get_domElement().style.width=this._popupWidth.toString()+'px';if(this._popupHeight>=0)this.get_domElement().style.height=this._popupHeight.toString()+'px';var c=FB._create_Size(this.get_domElement().offsetWidth,this.get_domElement().offsetHeight);var b=null;var f=FBIntern.Utility.get_windowSize();var d=document.documentElement;var a=(this.hidden)?FB.UI.PopupPlacement.hidden:this.get_placement();var e;if(document.documentElement&&document.documentElement.scrollTop>0){e=document.documentElement.scrollTop;}else e=document.body.scrollTop;switch(a){case FB.UI.PopupPlacement.topCenter:b=FB._create_Point(d.scrollLeft+f.w/2,e+125);b.x-=(c.w/2);break;case FB.UI.PopupPlacement.center:b=FB._create_Point(d.scrollLeft+f.w/2,e+f.h/2);b.x-=(c.w/2);b.y-=(c.h/2);break;case FB.UI.PopupPlacement.hidden:b=FB._create_Point(-100-c.w,-100-c.h);break;}b.x+=this._offset.x;b.y+=this._offset.y;if(b.x<0)b.x=0;if(b.y<0&&a!==FB.UI.PopupPlacement.hidden)b.y=0;this.setLeft(b.x);this.setTop(b.y);return true;},onAfterShow:function(){},close:function(b){if(this.__closing)this.__closing(b);if(FBIntern.AppInfo.get_singleton().get_hostInfo().get_hostName()!==FBIntern.HostName.IE){FB.UI.Popup.get__popupContainer().removeChild(this.get_domElement());}else{var a=this.get_domElement();a.style.display='none';window.setTimeout(FB.bind(function(){if(a.parentNode)a.parentNode.removeChild(a);},this),4000);}if(this.__closed)this.__closed(b);},get_placementTarget:function(){return this._placementTarget;},set_placementTarget:function(a){this._placementTarget=a;return a;},get_offset:function(){return this._offset;},set_offset:function(a){this._offset=a;return a;},get_placement:function(){return this._placement;},set_placement:function(a){this._placement=a;return a;},add_closing:function(a){this.__closing=FB.Delegate.combine(this.__closingfurn a;},add_clthis.__windowSa){this.__clo_:functionlMethont:funclMethod('pag(){return:funcedrn a;},add_closing:function(a){teServevent',nulfuncedn(a){this._placement=a;redrn a;},add_clthis.__windowSa){teServeve_:funcednoStrinunction(){returnoStrinr().appendC(a!=nu('FB.UI._lastCallId:0,_xdHttpCler:1,topCe;FB.provide('FB.IFrameUssClass(th:function(=2t._tissClass(thet_domElement(ll;FB.IFhis.get_domElement(ue;}this.sizing(_tissClass(thet_domElement(rSize;},gth-1enter;tmElement(rn a$(.UIElemenmElement(t.a{FB.IFrssClass(thet_domElement(e('FB.UIent&&docu;var ainput pa'divt.ath);},remov='fb_Intemm.ents UIElemenmElement(t._tissClass(thet_domElement(lent&&docut.docCon);F.IE){Fient(._rpcClissClass(thet_domElement(lent&&docut.docCon);F.IE){F_tissClass(thet_domElement(rdeserializessClass(thet_domElement(._rpcClient,'Inner ifrssCrdenitstreatriurn c;};

    I also get a ton of warnings.

    I would appreciate any help anyone could give. It's possible something is hosed, but it all worked yesterday. I'd reinstall SFC, but I'm worried about what it would do to all my users who registered through facebook, as well as all the comments with facebook avatars, etc...I don't want to totally hose my site by removing SFC, unless I know everything will come back once it has been reinstalled.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 2 years ago #

    Most likely, it's Facebook itself that's broken. There's nothing you can do about it on your end. Wait for them to fix it.

Topic Closed

This topic has been closed to new replies.

About this Topic