WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Simple Facebook Connect] SFC 1.0 and Shareaholic – won't work :(

[Plugin: Simple Facebook Connect] SFC 1.0 and Shareaholic – won't work :(

  • mmozart
    Member

    @mmozart

    When I try to login to post a comment, i got message

    Invalid Argument
    Given URL is not allowed by the Application configuration.

    When I fill username and pass and proceed i got following message


    An error occurred with Shareaholic (D). Please try again later.

    Obvious, SFC and Shareaholic won’t work together. Any suggestion?

    http://wordpress.org/extend/plugins/simple-facebook-connect/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Samuel Wood (Otto)
    Keymaster

    @otto42

    You used the wrong URL when creating your Facebook Application. Go back to https://developers.facebook.com/apps and edit your application to fix the incorrect URL.

    mmozart
    Member

    @mmozart

    I have used correct url. I click on Login button in the comments area but it notify me about Shareaholic. I have installed Shareaholic plugin.

    Plugin Author Samuel Wood (Otto)
    Keymaster

    @otto42

    If it tells you “Given URL is not allowed by the Application configuration.” then that is Facebook telling you that you did *not* use the correct URL. Using the wrong URL is the only way you can get that message.

    mmozart
    Member

    @mmozart

    OK. You can try by yourself at http://www.eakademik.com. It looks like when I click on Login button for comments it invokes login via Shareaholic app which is another app at facebook and it do not use my application.

    Btw, I must admit, great work with this plugin!

    mmozart
    Member

    @mmozart

    I did one simple test: disabled Shareaholic plugin and SFC then works just fine. Its problem in interference those two plugins.

    Plugin Author Samuel Wood (Otto)
    Keymaster

    @otto42

    If Shareaholic is adding Facebook Javascript code to the page, then yes, it will interfere. Use one or the other, not both.

    I had the same problem. Good news is that SFC and AddThis seem to work well together.

    PS – Otto you rock – thanks for SFC!!!

    René
    Member

    @thefalljourney

    Is it possible to fix the compatibility issue with shareaholic?
    I use shareaholic for my in post share buttons and SFC for comment authorization only.

    Plugin Author Samuel Wood (Otto)
    Keymaster

    @otto42

    René: No, it is not possible to fix said issue. The older Facebook Share button is incompatible with all newer Facebook code. There is no way to fix this. Don’t use the old Share code.

    René
    Member

    @thefalljourney

    OK, thanks!
    Seems like either Shareaholic will have to update their plugin to use new code or I’ll have to choose a new Share plugin altogether, which will be compatible with yours.

    Cheers!

    sunriseweb
    Member

    @sunriseweb

    Doh – problem with AddThis when sharing comment to Facebook with SFC.

    Messages are:

    Warning: Cannot modify header information - headers already sent by (output started at /home/martest/public_html/wp-content/plugins/addthis/addthis_social_widget.php:1385) in /home/martest/public_html/wp-comments-post.php on line 95
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/martest/public_html/wp-content/plugins/addthis/addthis_social_widget.php:1385) in /home/martest/public_html/wp-comments-post.php on line 96
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/martest/public_html/wp-content/plugins/addthis/addthis_social_widget.php:1385) in /home/martest/public_html/wp-comments-post.php on line 97
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/martest/public_html/wp-content/plugins/addthis/addthis_social_widget.php:1385) in /home/martest/public_html/wp-includes/pluggable.php on line 866
    sunriseweb
    Member

    @sunriseweb

    It looks like SFC is trying to echo javascript to the page afer the AddThis plugin has already done so.

    I replaced /wp-content/plugins/addthis/addthis_social_widget.php line 1385

    echo $script;

    with

    return false;

    and this stopped the error messages. Of course the AddThis sharing buttons no longer appear.

    sunriseweb
    Member

    @sunriseweb

    Finally just used CSS to hide checkbox that allows publish of comment to FB. Love to offer this functionality if anyone has a better solution.

    #sfc_comm_send { display: none; }

    sunriseweb
    Member

    @sunriseweb

    I really want the publish comment to FB functionality of SFC so I decided to inactivate AddThis plugin and put AddThis in my theme manually. This also allowed me to the Pinterest share code which is not in the AddThis plugin code.

    To get the Pinterest image link to share I use the “Get The Image” plugin if it is active.

    Since I wanted it after the content of a post I added the following to my functions.php file. Using “the_content” filter avoids the echo / headers problem.

    See code here: http://pastebin.com/3phBE8g7

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Simple Facebook Connect] SFC 1.0 and Shareaholic – won't work :(’ is closed to new replies.