How create in my webpage a share link(Facebook) of youtube video but change the title and description
Thanks
Try to look up at Feed Dialog
that using by FB.ui Javascript SDK
To change the feed story of a shared page, you have to update the open graph tags. See the documentation here.
Related
This is an example when someone posts a link on discord it appears with this box and has some text on it. How do I add this to my website? Embed
You need to use open graph meta tag properties. See Facebook's developer guidelines for examples.
https://developers.facebook.com/docs/sharing/webmasters#markup
I know this seems very basic but please help me out im doing this for my computer subject project. THANKS !
You can use a link in the HTML code. It will go to the desired url -
My Page
For example lets say you want to go to youtube then -
Youtube Link
Official docs at MDN -
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
You use the target attribute:
Ref: https://www.w3schools.com/tags/att_a_target.asp
I'm trying to share in my Facebook wall a personal link and it's showing this image. I tried to modify metadata, etc in my website, but still same problem. Please any suggestion to fix it, thanks
Use: https://developers.facebook.com/tools/debug/
Use the sharing debugger and then scrape the page again to update it.
Also make sure to use the property: 'og:image' on the image you want to show.
I have as an example this page.
http://www.kefet.com/content/article.html?langId=90&artLang=en
If you go to that link after logging to your facebook account and try to share the article,
on the title it shows you the url in stead of the title of the article.
I went to check with facebook debugger, and obviously it said that I have the URL on
og:url http://www.kefet.com/content/article.html?langId=90&artLang=en
og:title http://www.kefet.com/content/article.html?langId=90&artLang=en
Yet when I go to see my source code of my page, I see all correct. Is there anyone that can help me and tell me what do I need to change in order to show the title of the article where it belongs?
Thank you!
The problem may be facebook uses cache for OG tag.
You can use sharer.php as below :
http://www.facebook.com/sharer.php?s=100&p[url]=your_url&p[images][0]=image_url&p[title]=your_title
When I try creating a video post for my website, using youtube videos, posts look like a blank white box that says "posted by jerry, July 18, 2011" when my posts are really just youtube videos. I would rather the posts on my site look more like the typical video box that everyone is used to seeing. My website is http://www.AbodeMarketing.com.
Virgil's right, you're posting your HTML code within the visual editor. To switch, just click the "HTML" tab on your site's Add New Post page. You should be good to go. If your looking to regularly insert videos into your posts, I recommend the plugin Simple Video Embedder. I use it on my tech blog and love it. If you need any help implementing it into your theme just lemme know.
Your issue is you're pasting in the Youtube embed code using WordPress' Visual Editor instead of the HTML Editor button which is right next to it.
Simply delete the Youtube code, grab it again from Youtube, edit your post, click the HTML button and paste in the code. You can update your post and your video will show up.
The only gotcha to remember is once you press the HTML button every post or page you edit from then on will start off using the HTML editor so you'll want to switch back by click the Visual button again.