Joomla meta description on facebook - joomla

How can I change meta description for Joomla website when the website shared on facebook ?

Go to System > Global Configuration. Under the Site tab you should see Metadata Settings. You might have to scroll down a bit, depending on your screen resolution.
Here, you can change the description and keywords for the site. Whatever you put in the description here should also show up when you share the site on Facebook.
Edit: You can use this extension, which converts Joomla's regular Meta Data to Open Graph, which is what Facebook and other social media sites are using when you share the website:
https://extensions.joomla.org/extension/simple-facebook-meta/

Related

Can I set cookies for discord.Embed.set_thumbnail in discord.py?

I am making an online encyclopedia searching bot with discord.py. But the encyclopedia site is opened only for my school students. So I had to use cookies to get documents' contents. But I got a problem. The site provides changing the logo for each document, and I'm going to put it in discord.Embed.thumbnail. As I mentioned above, the encyclopedia site is opened only for my school students, and the logo file as well as.
Can I use my cookies to access file link for discord.Embed.set_thumbnail? If possible, how? Thanks for your help.
you could currently use the requests module to get the image URL setting cookies. Then, you get the URL of the image and you just put it into the thumbnail field.

is this possible convert current page to AMP

I'm using this extension for creating AMP pages for our Magento e-commerce website.
In that extension, they create different pages for AMP (home page, category page, product page). We felt it is an extra work.
is this possible to convert the current page to AMP? (without any modification)
I don't think it's possible without having any modification unless you use some third party apps. You may check this Convert HTML to AMP tutorial. Be noted that it is strongly recommended that you use HTTPS in production environments. HTTPS has several benefits beyond just security including SEO. You can read more about this topic in this Google Webmaster blog post. Also, from this page, if you use WordPress, all you have to do is download the official AMP WordPress plugin.

How do I get an image to show up when I paste a URL from a website into facebook or slack, etc

I'm creating a website that I want people to share and when they share a link I want them to see an image that I curate. How can I set that up?
The site relies heavily on javascript and background images... is that maybe why nothing is turning up automatically?
The main places this would be nice are: Facebook, Slack, Pinterest, ... places like that.
In order to generate nice preview links you need to do some additional work.
To control how your link would be viewed you would need to set up special meta tags. For example,Facebook uses Open Graph tags:
<meta property="og:image"
content="http://graphics.myfavnews.com/images/logo-100x100.jpg" />
https://developers.facebook.com/docs/sharing/best-practices

is there a way to display author image in joomla article

I'm currently designing a website for a client and the client is requesting to display the author picture and name on every article. I searched but, can't find an option to do that.
Is there a way to display the author picture on each article?
There are a number of extensions that will let you integrate with Gravatar and other services.
In terms of the Joomla core, you can already link an author to a contact page with an image (when the author is the linked user) and you could write a plugin to pull the image from the contact record since you already have the record id. You could also store the image location as part of the user profile and write a plugin for that.

Dynamic (Ajax) share buttons (Facebook, Google+ and Twitter) to share an image, with a link and a description

It's been few days I'm looking for a solution and I can't figure out why it's still not working.
Here is my goal:
I have a website with a sideshow. The images are dynamically changed (with previous and next buttons). I just want to share an image on social networks (facebook, google+ and twitter) and actually see the image in my wall with a little description and the link to a page.
Precision:
The image is a thumbnail (so, not the same url) of the main image and the link I want to publish is neither the page I'm on (which is static due to Ajax) nor the image one.
My tries:
I have almost got it on facebook but the image loading failed and it was with a share button (which seems to be deprecated in favor of like) and for google+, the +1 button become red after I click it... I tried XFBML and OpenGraph, but the problem is with Ajax (url is the one of the page or is not changed even with createElement("
Questions:
1. Is there any packaged solution (like addthis, but working the way I want)?
2. Or do you have one (or a clue) for me please?
3. Am I the only one to think that offical facebook and google+ ajax documentation are lame?
Thanks a lot.
Hugo
PS: if I could have a fly-out to edit a comment with the content I'm about to share, it would be fantastic!
One way to accomplish this is with cloaking.
Setup a page which provides the image, title, and description to the social application (aka. facebook, google+). You can then use Javascript to redirect the user to the page you actually want the user to see. For users without Javascript the page should display a link to the target page with a "Click here if you are not automatically redirected". The image should exist on the page but you can place it in a div with style="display: none;" so the user doesn't actually see it.
A more advanced technique would be to use the IP address and browser name (user agent) to determine if the visitor is a user or a social network robot and using a 502 temporary redirect to the page you want the user to see if the visitor is not a social robot. The social robots would be shown a page which has the image, title and description.
The social sharing buttons that you're using all have one thing in common: they all work best when there's a URL representation for the object that you're sharing. Some of them, namely Facebook's like button and Google's +1 button, use the contents of that page to create the snippet that's shared.
This isn't a new problem, though. This is the same problem faced with search indexing of AJAX applications. Sadly there's no easy solution. Here are a couple of challenging ones:
Programmatic Solution
You can improve your back end so that it's capable of rendering pages for each shareable step in the state of your slide show: one page per image. As you step through the slide show you can destroy and re-create the social sharing plugins each time targeting them to this machine accessible version of that image.
Snapshot Solution
You can use a crawler tool that is capable of executing JavaScript to make snapshots of the different states of your application. You can then target the social sharing buttons to the snapshot of the current state.
This might require less back end work but may be challenging to keep up to date.

Resources