I don't know if anyone else experienced the same problem, but I just don't know why article description is not visible on my feed page after sharing.
I used these recommendations for customized URL sharing:
https://developer.linkedin.com/docs/share-on-linkedin
i.e. my link looks like this:
https://www.linkedin.com/shareArticle?mini=true&url=http://developer.linkedin.com&title=LinkedIn%20Developer%20Network&summary=My%20favorite%20developer%20program&source=LinkedIn
If you follow this link, you'll see that the summary ("My favorite developer program") is visible in the preview. However, this summary is not visible in my feed after sharing.
The same happens if I use tag within page markup instead of specifying "summary" directly in URL
I'll be very grateful for your advice.
You can only choose one option:
Indicate an image with an og:image tag, and your image will display.
Don't indicate an image, and then your description will display.
Do you want both an image and a description to display? Currently just not possible. Maybe put the text of the description into the image? I have no idea, it would just be nice if they made their API work according to their own documentation.
Source: Arguing with LinkedIn Support for 2 Weeks.
Related
I use wordpress.org and bluehost. My site url is http://www.midnightmassmusic.com , and everytime I share an article either through text message, or onto fb, it doesn't display an image. I used facebook debugger and it keeps say there's no og description, and it's an invalid content type. How do I fix this? I even added facebook and google to hotlink protection, wondering if that was causing it. It didn't help. I use Yoast, didn't help. Is it possibly my image optimizer (Ewww) plugin interfering? Or are my image files not formatted correctly? Bluehost won't help me because they claim it's Facebook's problem..but it's not. The same error is occuring when sharing through text.
First of all, there is no og:decription tag in your source, so Facebook is right about that. That being said, your og:image is not accessible in public. I get a 403 error when i try to load it in the browser: https://midnightmassmusic.com/wp-content/uploads/2019/01/20181230_1552042-1-e1547951786467.jpg
Btw, your image size would be 600x800, which is not an appropriate aspect ratio for og images. You should use 1200x630 according to the docs.
I need to add hyperlinks either through summary or through description in API.
For example, I tried it for summary, I added Google, it came as text and not as HTML format, whereas in description, it came as HTML format but i couldn't hyperlink in it but just edit it.
I saw another solution in stackoverflow but that solution was not feasible because it redirects to another page before we get the actual site (Link to add to google calendar)
Can you please say some possible ways to add a hyperlink in Google Calendar?
You have same scenario from this StackExchage post.
You can try this solution:
Yes you can, by using the HTML code link. I have a Google calendar set
up for a club, if you are in edit mode, it appears as text, if you are
not in edit mode , ie log out of your Google mail, than look at your
calendar, the link will work. I hope this helps.
I make a website and I try to share it via Line chat. It seems that Line chat has a feature to display web preview like Facebook does. My question is, how to control which image and description that will be shown in Line chat? I know for Facebook but I never know in Line. I have tried googling around but I don't know the keyword for it. The google result is not what I expected.
Thank you for your help.
I think what you are searching is using HTML Meta Tags on sites. Social Media such as facebook, twitter, etc. usually reads index.html's <meta> tags to provide a preview about the sites. You may learn more about meta tags here.
I see many pages out there without OG tags (i.e. tags as specified here: http://ogp.me/), yet the Facebook URL Linter seems to be able to get an image and description for them.
For example - you won't see any OG tags (or even other relevant meta tags that could be used to infer said data) on the home page of:
http://www.magicka2.com
But when you take it through Facebook, it finds a description and image:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.magicka2.com%2F
So, what am I missing? The image and description they get seem very specific (and correct). Thanks :)
In case of missing Open-Graph tags, Facebook analyses the page and extracts the image for which it thinks it suits the best and what text should be the description text. They follow some "rules" to determine which picture, but there is also some AI involved and it's part of their systems.
If you want to control which image/title/description your page will show when shared, I would advise to always provide OG-details explicitly.
I have inherited some code which uses uses the LinkedIn Company Profile API. At least that's what I think it is. Basically a script tag is rendered in the following format:
<script type="IN/CompanyProfile" data-id="9999" data-format="click"></script>
This together with .js file creates a link with the Linked-in logo which when clicked on reveals profile of company. Question is, can I customize the link. I want to add some text to the right of the linked in logo. I couldn't find any relevant documentation on it. I added a span tag with some text and attempted to wire up the click of the span, so that when clicked it clicks the linkedin icon. That doesn't seem to work-- which I found rather odd.
Any thoughts?
The Company Profile plugin builder is here:
https://developer.linkedin.com/plugins/company-profile-plugin
Customization of this plugin is limited to width (using data-width) at this time because of the complex layout. However, you could build something similar using the Javascript API if you need something more customized to your system.
This is another option that is more customizable, but has less interactivity:
https://www.linkedin.com/profile/profile-badges