• Resolved GlobalVagabond

    (@globalvagabond)


    In some cases I’m having trouble posting links to my website on my facebook page which contain youtube videos. It’s not always showing the proper video preview, or finding the right one. I’m also wondering if there’s just a way to turn that off. I want to force people to go to my website instead of just the FB page (Cuz I’m a jerk :P). Open Graph has improved my ability to share pictures from Nextgen but it’s not showing the proper picture preview either. The only thing that’s better is that it goes to the specific photo, as opposed to the whole album.

    Thanks,
    ~GlobalVagabond

    http://wordpress.org/extend/plugins/nextgen-facebook/

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    You’ll need to provide sample URLs.

    Thanks,

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    Do you have the URL to a post with a video?

    Thanks,

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    Never mind, I used this one:

    http://gamepro.co.il/2013/04/29/microsofts-illumiroom-could-be-use-on-next-xbox/

    The Open Graph tags appear to be correct:

    <!-- og:image:1 --><meta property="og:image" content="http://gamepro.co.il/wp-content/uploads/2013/04/Microsoft-Illumiroom-720-300x159.jpg" />
    <!-- og:image:1 --><meta property="og:image:height" content="159" />
    <!-- og:image:1 --><meta property="og:image:width" content="300" />
    
    <!-- og:video:1 --><meta property="og:image" content="http://img.youtube.com/vi/nGGMv9RnJIA/0.jpg" />
    <!-- og:video:1 --><meta property="og:video" content="http://www.youtube.com/v/nGGMv9RnJIA" />
    <!-- og:video:1 --><meta property="og:video:height" content="349" />
    <!-- og:video:1 --><meta property="og:video:type" content="application/x-shockwave-flash" />
    <!-- og:video:1 --><meta property="og:video:width" content="620" />

    What Facebook decides to with that information is up to Facebook. Apparently they prefer to embed the video for viewing directly on Facebook.

    If you prefer NOT to include the og:video info, then you can set “Maximum Number of Videos” to “0” or un-check the og:video tags from the “Meta Tag List”.

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    Do you mean for this URL? http://gamepro.co.il/2013/04/29/watch-dogs-november-21-release-date/

    If you do a View Source, you’ll that video tags are still being added:

    <!-- og:video:1 --><meta property="og:image" content="http://img.youtube.com/vi/5DHFVi0Y8dg/0.jpg" />
    <!-- og:video:1 --><meta property="og:video" content="http://www.youtube.com/v/5DHFVi0Y8dg" />
    <!-- og:video:1 --><meta property="og:video:height" content="349" />
    <!-- og:video:1 --><meta property="og:video:type" content="application/x-shockwave-flash" />
    <!-- og:video:1 --><meta property="og:video:width" content="620" />

    Do you have any full-page caching plugins enabled? You might need to flush their cache.

    If you set “Maximum Number of Videos” to “0” in the NGFB options, those og:video tags should disappear.

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    Turn on debug mode (checkbox option on the bottom of the NGFB settings page), and I’ll have a look.

    Thanks,

    js.

    Thread Starter GlobalVagabond

    (@globalvagabond)

    I changed the settings as recommended. The video links are working as I want them now. I appreciate the help on that one! 🙂

    But for Nextgen Gallery the correct photo is not being previewed on FB. It only picks up the first 3 or 4 photos. It does link to the correct photo in the gallery though, which is great, because it didn’t do that before I downloaded Open Graph. Should I just change the number of photos to something higher to have more options for thumbnails? I wish there was a better solution because my plan is to have albums with hundreds of photos and I don’t want to click through the whole album. Hope that makes sense.

    Thanks,
    ~ GlobalVagabond

    Plugin Author JS Morisset

    (@jsmoriss)

    If you only want one photo, set the Maximum Number of Images to 1, then choose a featured image for each post.

    js.

    Thread Starter GlobalVagabond

    (@globalvagabond)

    How do I pick a featured image from Nextgen Facebook? Looks like the ‘Maximum Number of Images’ is already set to 1. I haven’t changed it from the default. Right now Facebook is picking up the header image, the first image in the album, and some of the ads on my page, but not the image within the album.

    Plugin Author JS Morisset

    (@jsmoriss)

    Sorry for the late reply – just click on the “Add Media” button when editing a Post or Page. Select an image from a NextGEN Gallery, then click on “Use as featured image”.

    js.

    Thread Starter GlobalVagabond

    (@globalvagabond)

    No problem. I know how to set a feature images for blog posts. I’m talking about photos from the gallery. I want to share memes from there to my FB page to get a lot more views to the site. It will link to the correct image, which is didn’t do before downloading your awesome plugin for Nextgen, but it still isn’t showing the proper preview. Should I turn off the image meta tags like I did with the video? I’m not sure that would help.

    Plugin Author JS Morisset

    (@jsmoriss)

    Sorry, but I don’t know what you mean. Could you give me an example with URLs etc.?

    Thanks,

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    GlobalVagabond,

    I think we just had a problem with the language… My guess if that you would like to use the PREVIEW IMAGE defined in NextGEN Gallery for albums and galleries, correct?

    I’ve just finished adding support for PREVIEW IMAGES in NGFB. Please download and install the latest DEV version from http://downloads.wordpress.org/plugin/nextgen-facebook.zip.

    That *should* do the trick. 😉

    The changes in the current DEV version are:

    * Added support for NextGEN Gallery preview images for [nggallery] and [nggalbum] (aka [album]) shortcodes.

    * Added an ngfbPlugin::fix_relative_url() method to filter and fix relative URLs in all og:image property tags, not just those from content text (as relative URLs may also come from unexpected sources, like the wp_get_attachment_image_src() function).

    Thanks,

    js.

    Thread Starter GlobalVagabond

    (@globalvagabond)

    I just updated the Open Graph plugin through WordPress. I’m going to attempt to stop using the word preview if I can help it…

    All I want is to be able to share an image from Nextgen Gallery on my Facebook page. This would be REALLY helpful to get more people to my site. That’s all I care about.

    Since downloading your plugin I can link to a specific image (which is great!) in the gallery but it DOES NOT show the correct image on Facebook. Does that make sense? Instead it shows my website’s logo on Facebook.

    I think the word I should have been using was “thumbnail” for Facebook, not “Preview.”

    Again, I really appreciate you trying to help me out.

    Plugin Author JS Morisset

    (@jsmoriss)

    GlobalVagabond,

    Please provide an example URL to a page you want to share on Facebook.

    Thanks,

    js.

    Thread Starter GlobalVagabond

    (@globalvagabond)

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Facebook Video’ is closed to new replies.