• How do you control the length of text displayed on your FB wall? Do you need to use the excerpt in WP to limit the ammount of text (auto)published on FB wall?
    My posts shows the entire article on FB and I only would like to show few rows…
    Any answer much appreciated…

    Thanks and great plugin enyway

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The latest version uses the first 1000 characters of the post, which is the maximum length post you can make on Facebook.

    If you want to use less, use the sfc_excerpt_length filter in your theme or a plugin. For example, to limit it to 500 chars, you’d do this:

    add_filter('sfc_excerpt_length','my_custom_length');
    function my_custom_length($num) { return 500; }
    Thread Starter noiromaniinuk

    (@noiromaniinuk)

    How (where) do I add the code you mentioned?

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Wherever you want. The traditional places are in a plugin or in your theme’s functions.php file.

    Thread Starter noiromaniinuk

    (@noiromaniinuk)

    Cheers Otto it worked ;).
    One more bug (or not?) I’d like to mention to you: When on FB the post shows a “see more” link. Once clicked the whole text is revealed but it also shows a duplicate of the post image. Is this because I’ve added the image as featured image and I’ve inserted into the post too?

    Aimee

    (@greatdanemaniac)

    Is there a way to not show the whole post when you click the “see more” link? a.k.a. remove that “see more” link? I believe that I’ve lost a lot of visitors to my blog since they are not aquired to visit the site since they can read the whole post on FB…

    I would like to only have the link to the post (the title of the post) and possibly a thumbnail if I have an image or a video attached to the post. Nothing else. Is that possible?

    //Anna-Maria

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Reduce the sfc_excerpt_length to zero to not show any of the post.

    Aimee

    (@greatdanemaniac)

    That didn’t work. It doesn’t seem that facebook uses this kind of feature. It would be nice if you could try and find a way so that only the link and a possible thumbnail is visible on facebook. Thanks!

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Ummm.. That does work. Works fine. I tested it before I wrote the message.

    If you have the excerpt length set to zero, then SFC-Publish won’t send the body of the post.

    Aimee

    (@greatdanemaniac)

    Ok, well perhaps I’m not doing it right then.

    I haven’t added the code above today, but I tried it a couple of days ago with no change what so ever. Although I’ve never set it to 0, since I wasn’t sure if that is ok, instead I’ve changed the already made code within the sfc-publish.php file. Should I try and add the filter as well, or what?

    I would love to have a small tutorial on this if you have the time. Thanks!

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    You shouldn’t change the plugin code itself. I made the length filtered specifically so you didn’t have to do that.

    Aimee

    (@greatdanemaniac)

    It still doesn’t work for me. Please specify how I can make this work properly. Inserting the code above and changing it to 0 inside my theme’s function.php file does not work.

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Ahh.. Yeah, my version is modified to fix that bug.

    Workaround for version 0.25: Use 26 as the minimum possible value.

    add_filter('sfc_excerpt_length','my_custom_length');
    function my_custom_length($num) { return 26; }

    Aimee

    (@greatdanemaniac)

    Hey. Sorry for not responding. I sort of gave up on this. It does not work! I might be doing something wrong, but perhaps it’s just a bug or something.

    anywho… Just noticed that when I write posts from my phone (android) using the wordpress app, it seems to be working. There isn’t even a “see more” link. That’s how I want it!

    Oh well. I hope that this will work itself out. It’s an awesome plugin, and when version 2.0 comes out, it will become more awesome!

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I have actually tested this. It does actually work. The code I posted above is working code. Put it in a plugin or in your theme’s functions.php file.

    Aimee

    (@greatdanemaniac)

    Ok, I’ll guess that I should try it once more then. Thanks!

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘[Plugin: Simple Facebook Connect] The post length on Facebook’ is closed to new replies.