Below is my LinkedIn share button. I am trying to share a youtube video on linkedIn. But it does not share the exact video(https://www.youtube.com/watch?v=4wDVzjn9s9E) on LinkedIn instead it always shares the default youtube home page(https://www.youtube.com/). Does LinkedIn accept only embedded URL or it does not accept the URL which contains id? Please suggest the solution.
<li>
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.youtube.com/watch?v=4wDVzjn9s9E" style="color: white;">
<i class="fa fa-linkedin"></i>
</a>
</li>
It looks like their /shareArticle endpoint ignores query string parameters.
The official share url for the video you YouTube is https://youtu.be/4wDVzjn9s9E and https://www.linkedin.com/sharing/share-offsite/?url=https://youtu.be/4wDVzjn9s9E seems to achieve what you're trying to do.
Don't forget to do URL-encoding with parameters you are feeding to another URL. So, your link should be ...&url=https%3A%2F%2Fw..., and not ...&url=https://. Your URL also contains a question mark that should be escaped. Ultimately, your URL should look like this..
https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4wDVzjn9s9E
Works for me! Interesting video there about Lionel. =)
In case you want to know more: Official LinkedIn Share Documentation
Related
I am sharing an url "https://timesofindia.indiatimes.com/trend-tracking/jaitley-promises-robust-tax-regime-for-investors/articleshow/62741496.cms?utm_source=linkedin.com&utm_medium=social&utm_campaign=TEST-LINKEDIN" via share api, but no image is picked up from the og:image tag (i.e. meta property="og:image" content="https://example.com" ).
But when i am trying to share the same url from linkedin admin page, it is picking up the image. This means that the image follows all the size-standards and other things required by linkedin.
Then why is the share api not picking up image url from the open graph tag.
If you think your share is properly formatted, but it's not working, first thing I would do is head on over to the LinkedIn Post Inspector, which will examine your URL and look for problems.
But, your URL does look right! Are you sharing like this, with proper URL encoding?
https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Ftimesofindia.indiatimes.com%2Ftrend-tracking%2Fjaitley-promises-robust-tax-regime-for-investors%2Farticleshow%2F62741496.cms%3Futm_source%3Dlinkedin.com%26utm_medium%3Dsocial%26utm_campaign%3DTEST-LINKEDIN
Because this link works for me! Take a look:
Sometimes you just need another pair of eyes on the same problem! Hope this helps!
I'm not a tech person so forgive me - until today my website was developed to display a selection of instagram images on my (bluehosted) website based on various hashtags, but now the images no longer display. The url is http://go-where.co.uk
The original developer has moved on and I am in need of advice to resolve the issue please as the website relies on this functionality. I have notes left by the previous developer which contain links that cannot be posted as I am a new user and have a limit of 2 links.
So I was able to take a look at the issue... there is something wrong with your wordpress config as the urls over at instagram have not been altered...
this photo that I pulled from your site still renders just fine
your code looks something like
<a href="https://www.instagram.com/p/BCQI4EGwhT4/">
<img src="/wp-content/uploads/instagram/12748323_236400550029515_122771_n.jpg?ig_cache_key=MTE5MzQ5MjkzODMyNDMxNzQzMg%3D%3D.2">
</a>
This issue is therefore with your <img> tag and has nothing to do with the Instagram API.
I have been searched on google so many time about facebook share and comment,but i didn't see any good solution for me.I try to share my product with my code
<a class="facebook"rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u=#Param&p[images][0]=#Model.Imgurl&p[title]=#Model.Name&p[summary]=#Model.Description">
With my param in my url of products detail.It just share the link without configure my description.Any solution for me.
And please tell me how can i create comment in facebook too.
Even you set from the link Facebook needs some open graph/meta tags for that.
Also check your url with Facebook url linter to make sure everything is ok.
https://developers.facebook.com/tools/debug
I need to add Waze button to mobile site, I copy the code from other site but when I click from my site it doesnt build a track on waze, and if I click from the other site it builds a track.
the url of the other site is:
http://go5.co.il/m/location.php?id=10707
the url of my site is:
http://easy-time.info/mobile/admin/pg6-admin.php
the code I copied is:
<a href="waze://?ll=31.66526,34.58684&navigate=yes">
Waze has an API http://www.waze.com/dev/documentation/
Please look at the code there. It shows a regular a href="" but it is related to longitude and lattitude you need to get from google maps or something else.
<img src="wazeimage.jpg">
if you copy the long/lat and paste in google maps it shows a cafe in israel somewhere: 31.66526,34.58684
I am having an issue with my website I just can not seem to solve. I do not understand how I can get my website to understand how to "like" specific articles that are written on it. Also, whenever I do hit the "like" button it in turn chooses to "like" the entire page and designates the "facebook" logo as being the icon of the website. I hope I explained this accurately. Feel free to take a peek at my website # www.diehardsportsfan.com Any help would be greatly appreciated. Thanks a bunch in advance!
It sounds like you are using the Facebook like button code. If you aren't, you should probably start with the official Facebook stuff. Avoid trusting random social media code that you find. Could be spammy/scammy.
I put "http://w3c.org" into the URL to like box, and go the following code:
<div class="fb-like" data-href="http://w3c.org" data-send="true" data-width="450" data-show-faces="true"></div>
There is another block to load the JavaScript FacebookSDK, so don't forget that.
Anyway, you can see that the URL I gave was pasted into data-href.
So if you had articles at w3c.org identified by #articleXXXX where XXXX is a number, you would just replace the data-href with the appropriate link to your article like this:
<div class="fb-like" data-href="http://w3c.org#4242" data-send="true" data-width="450" data-show-faces="true"></div>
Each article will need its own button, and each button instance should be linked to the permalink for its corresponding article.