• Hey guys,
    Wordbooker is grabbing the wrong image for my facebook fan page posts. It seems that it’s just grabbing the first image on the page which in this case happens to be a twitter icon.
    I’ve tried everything from setting the feature image to doing all combinations of “use thumbnail” options.
    Any ideas on how to fix this?

    http://wordpress.org/extend/plugins/wordbooker/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Steve

    (@steveatty)

    Thread Starter kristen.bornemann

    (@kristenbornemann)

    I’ll give it a try tomorrow and post with the results!

    Thread Starter kristen.bornemann

    (@kristenbornemann)

    Hey Steve,
    On updating a post to push to facebook I got the following error:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in …/wp-content/plugins/wordbooker/wordbooker.php on line 1478

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/wordbooker/wordbooker.php:1478) in …/wp-includes/pluggable.php on line 897

    Plugin Author Steve

    (@steveatty)

    Oh bum!

    Its not an error – its a warning and on a production box all PHP errors and warnings should not be sent to the screen – and that’s official PHP guidance.

    Can you open up wordbooker.php and find the wordbooker_strip_images function and there is this line:

    #$newimages = new array();

    Can you change this to:

    $newmages = array {};

    Then save the file and see how things go.

    I have tried to fix the bug with the new code and the plugin do exactly the same.

    It’s grabbing the first image on my blog, one in the sidebar that, by chance, is a twitter picture too.

    Plugin Author Steve

    (@steveatty)

    Can you try the newly released V2.0.4?

    No. The plugin do the same (or something similar). It takes an image randomly from the whole page for each post, but curiously, each post goes always with its picture.

    If I upload (updating) a post 20 times, all the times it will go with the same image.

    Thanks in advance.

    [Sorry my english, i’m spanish].

    Plugin Author Steve

    (@steveatty)

    If you try to update an existing post that FB has cached then the image wont change.

    I need to see a diagnostic trace for a NEW post to work out what is going on.

    Hi Steve – I’ve just read this thread since I was having the same problem. I’ve just done a test post without any images and FB perfectly happy with it which it wasn’t yesterday, so it looks like the 2.0.4 has fixed the problem as far as new posts are concerned. However, this is not the case for the post I really do want published. In another thread I read that FB would cache the post for about 24 hours, but if FB is caching then it’s longer than that. The only way round it that I can come up with is to copy the whole of this post, publish it as a new one and delete the original. I’m assuming that FB isn’t clever enough to know that it’s the same post?

    Really they are posts that never have been published to FB. They are posts previously uploaded to my blog and, when I want to upload them to FB, I use the button “Update” on WordPress.

    Maybe the problem is that. Does it work equal the button “Update” and the button “Post”?

    Thank you so much.

    Plugin Author Steve

    (@steveatty)

    No – if they are new to FB then there shouldn’t be a problem. But unless I can see a diagnostic trace for one of those posts then I can’t even start to work out what is going on.

    Sorry, Steve, but how can I generate a diagnostic trace? May I erase some information from it before paste here or not (delicate o private info)?

    Plugin Author Steve

    (@steveatty)

    All you need to do, if you are on 2.0.4 is do a post then go to the Advanced Settings section and set the Diagnostic level to show everything and save the settings and you should see a lot of information for the post in question.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Wordbooker not grabbing right image’ is closed to new replies.