WordPress.org

Ready to get started?Download WordPress

Forums

OGraphr
[resolved] Youtube Thumbnail Not Working (22 posts)

  1. Reanderson
    Member
    Posted 1 year ago #

    Hi there.
    My WordPress post to Facebook with Youtube videos are not showing the correct thumbnail. Can anyone help me out?

    Using the Facebook dubug page it shows that the OG:Image is not set correctly.

    http://www.topradiosbrasil.com

    http://wordpress.org/extend/plugins/meta-ographr/

  2. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    1. is the trigger for youtube enabled? in some rare cases, the plugin will launch with no settings enable. in this case, it's recommended to use the "restore default settings" at the bottom of the settings page

    2. have you previously posted the same video on facebook? could the page be cached without thumbnail?

    3. does the thumbnail show up in the source-code?

  3. Reanderson
    Member
    Posted 1 year ago #

    Hi there Yathosho.
    Thanks for the responde.

    1 - Yes, is enabled and I´ve tried to restore the default settings as well.
    2 - No, never posted.
    3 - No.

    :´( ..

    PS: Check the Facebook degub results: https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.topradiosbrasil.com%2F%3Fp%3D1404

  4. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    hm, i wonder what it could be. can i have a look at the settings you're using (screenshot of the advanced settings)?

    also can you enable the debug-mode (you'll have to edit the plugin file), then load a page and take a look at output in the html source?

  5. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    also, does this only happen with youtube videos? have you tried vimeo or any other support video player?

  6. Reanderson
    Member
    Posted 1 year ago #

    Hi there Yathosho.
    Could this be a conflict with other plugin? Those are the ones I have installed:

    - Contact form 7;
    - Social Sharing Toolkit;
    - Tweetily;
    - Very Simple Google Analytics;
    - WordPress Download Monitor;
    - WordPress Importer.

    Here you can grab the screenshots of the advanced settings:

    - http://dl.dropbox.com/u/521666/screen3.png
    - http://dl.dropbox.com/u/521666/screen2.png
    - http://dl.dropbox.com/u/521666/screen1.png

    How can I enable the debug mode? I´ve searched the plugin file content but didn´t found the option.

    The problem also happen with Vimeo posts.

    Regards.

  7. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    i remember another user had an issue with social sharing toolkit installed, but it didn't interfere with ographr when i tested it.

    the debug mode can enabled in /wp-content/plugins/meta-ographr/meta-ographr_index.php on line 33 (set it to TRUE)

    could you also state the php version running on your server?

  8. Reanderson
    Member
    Posted 1 year ago #

    The server is running PHP version 5.2.17.

    Here is the result of the debug:

    OGRAPHR v0.6.14 DEBUGGER
    Image Retrieval: On-Post
    Last indexed on 2012-05-03, data never expires
    Avatars are filtered
    Emoticons are filtered
    Empty post-meta, using On-View fallback
    Processed in 0.009931 seconds

    This result is the same for ALL my posts.

  9. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    i really appreciate your patience going through this, i hope i can find the issue and solve it

    could you try and edit any of your posts (without actually changing anything) and save it. if that doesn't change anything, set the plugin to On-View (Image Retrieval -> Everytime your site is visited) and see if that changes anything.

  10. Reanderson
    Member
    Posted 1 year ago #

    No, I appreciate your attention. I´ve tried other solutions with the same error but no dev has replied my question.

    And see, I run a website that has planty of video clips and I need more and more likes in my Facebook fan page.

    Visual mathers more than anything and my posts without the correct thumbnail really bothers me.

    I´m pretty sure that I can gain a lot more visitors and likes I my posts works like they are supposed to be.

    Thanks in advance.

  11. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    did you try my last two suggestions? if other plugins didn't work for you, do you have any idea if your server settings could prevent this from working?

  12. Reanderson
    Member
    Posted 1 year ago #

    Hi there. I tried now the things that you suggested.

    1 - Only saving the post without change anything didn´t affect anything. The error persist.
    2 - Changing the plugin setting on-view to 'everytime your site is visited' didn´t affect the Facebook Debug result BUT changed the result when trying to make a new post direct thru Facebook.

    Now with the new option, if I grap the post link and try to post on Facebook, it gives me the chance to select 8 thumbnails instead of only one without the option.

    BUT, none of this thumbs are related to the video of Youtube. Most are gifs and jpegs from social networks I have in my site.

    3 - I don´t have any idea if my server settings is preventing this from work.

    4 - I tried to use the Fedmich plugin but it also didn´t work.

    :'(

    Regards.

  13. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    think i might have found the problem, hold tight

  14. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    please try the following

    1. download this updated version
    2. extract it to your current meta-ographr directory
    3. enable debug mode
    4. reload page, view source

    i think your webhoster might have disabled curl support, looking at the debugger will answer that. i've already implemented an alternative way to the upcoming version, but i wanted to make sure your problem is caused by that.

  15. Reanderson
    Member
    Posted 1 year ago #

    Hi there Yathosho, very exciting news.

    Here is the debug result:

    - OGRAPHR v0.6.14.1 DEBUGGER
    - Image Retrieval: On-View
    - cURL function exists, disabled by user
    - Avatars are filtered
    - Emoticons are filtered

    But according the PHPInfo I uploaded to my server, cURL is actually enabled:

    - cURL support: enabled
    - cURL Information: libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

  16. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    that's too bad, i was hoping that was it

    okay, i guess we you have to enabled wordpress debugging to give me some more insights.

    1. make sure to enable WP_DEBUG and WP_DEBUG_LOG,
    2. create a new post with embedded video (or edit an existing one)
    3. show me the relevant part of wp-content/debug.log

    i'm not sure, whether the debug.log can reveal sensitive data, so please be careful about what you post!

  17. Reanderson
    Member
    Posted 1 year ago #

    Hi there Yathosho.

    I´ve found the problem, but not the solution, after an insight based on a word in your comment number 2.

    Here is the devil word and the key to my problem: EMBEDDED.

    The theme I´m using with WordPress is called Dance Floor DJ and it is from http://gorillathemes.com.

    The theme features a function inside the post edit tool where I have only to add the Youtube/Vimeo video ID and it automatically put it as a feature article, correct the sizes, etc.

    Here is the sample post: http://www.topradiosbrasil.com/?p=1432. In this post I have put the video ID inside the tool and also put the Youtube video link before my post.

    Doing that, I mean, not using the video ID tool, your plugin works perfectly, the OG:image is generated and everything is OK.

    But now I have a problem, if I choose not to use the tool, the size of the video don´t match the post size (as you can see in the sample post) and my post in my main page (index.php) don´t show the video, only the link to the video.

    Any ideas how can I fix that without open a ticked with Gorilla Themes?

  18. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    thanks, that's very helpful!

    i'm sure you have good reasons to use that theme's video tool, but i wanted to point out that wordpress is able to embed full-width videos for a while now.

    i still don't understand why my plugin wouldn't work with that theme's tool, a look at that page's source reveals that in both cases a simple iframe embed is used. at least the on-view mode should work. hmmm.

    anyway, i'm going to investigate a little further.

  19. Reanderson
    Member
    Posted 1 year ago #

    Thanks for the help and pleeeease, don´t give up, :D.

    I´ll open a thread with the guys in Gorilla Theme to see what they think about that and let you know as soon as I get a response.

    Regards.

  20. Reanderson
    Member
    Posted 1 year ago #

    Now I´m using a little trick the make everything work. But I´m not happy doing this.

    After my post I´ve put in the source html the link to the Youtube video but with the width and height set to 0.

    <iframe width="0" height="0" src="http://www.youtube.com/embed/3am0kImrqM0" frameborder="0" allowfullscreen></iframe>

  21. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    i'm gonna mark the topic as resolved as it looks your theme is producing the error, but let's keep in touch an post any news on the issue. would love to know what causes this. btw, what version of the theme are you using?

  22. Reanderson
    Member
    Posted 1 year ago #

    Hi Yathosho. Thanks for all the help.
    I´m using the latest version of the theme, it´s the v2.0.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic