linkedin hiding/editing short URL - url

I was looking through different forums, but didn't find anything related to my small issue...
Clickable title google.com
And the google.com is gonna be of small font and gray color.
Is it possible somehow to hide/edit/ask LinkedIn not to show that small gray formatted domain of the submitted link? It's pretty crucial for my project, and any help would be highly appreciated...

This isn't possible using the LinkedIn API (nor using the website). The only thing I could think of would be to use your own URL shortener and share that link instead.

Related

How to create clickable magnet URL in discord embeds

In the embed description I have the magnet url [Link]({{3.rssFields.link}}). How do I make this clickable? I would like it to open the available torrent client. Would appreciate any suggestions.
Well, I don't know about the bot but discord has made magnet links unclickable for security reasons. I suggest you use the magnet link.
Also, the correct form is [link text](magnet link). I don't see a reason why you have so many {{}}.

Why is my Twitter links not displaying image?

SImple question: If I post a link to my website on twitter, the image does not appear even though I checked the link on twitter card validator and the image and the link work well there.
Here is the link: https://globalgoodness.ca/unehistoiredhommesdelephantsetdabeilles/
Thanks for the help (and plz consider that I am a twitter "illiterate :)

Sharing text message to Instagram Direct

I want to find way sharing text message to Instagram Direct. I already find URL scheme in Instagram dev doc, but there is no one word about sharing to direct. I also check some third part libraries - nothing helpful. If sharing to Direct is impossible with using URL scheme, maybe you know another way for this. Thanks for all advice.
Unfortunately this is not possible but other alternatives you could try is to screen shot you text messages or copying and pasting your messages in Instagram direct and sending them.
I hope this has been helpful.
A Bit Late To Answer (Aug 2022)
This is a similar topic that I answered earlier, I was successfully able to achieve the solution, please refer to my solution on the link: https://stackoverflow.com/a/73213888/4360419
Precisely, there is a deep link available to solve this,
instagram://sharesheet?text={anyThingYouWantToShare}

Canonical URL formatting issue causes Facebook to interpret mobile URL as a different URL

I need to format this canonical URL and I cant figure out how! I've looked around the web and this site a lot and I've realized that I need a specific answer.
Problem Description:
My BLOG's desktop view has (say) URL: www.x.com/page.html
The same page in mobile view URL would be: www.x.com/page.html?m=1
Its all good and dandy to this point, but the problem comes when I use facebook comments with this. It parses url based on this: www.x.com/page.html
So, it is identifying ?m=1 in the end of the first URL as an entirely different URL.
i.e
It is treating those two URL as different
Both of them are URL for the same page and I want them to be treated the same
Could anyone provide me a way to check if the loading page is ?m=1 and if it is ?m=1 then remove the ?m=1 when sending it to facebook?
I WOULD GREATLY APPRECIATE IT IF THE SOLUTION IS INLINE if it is not inline, oh well, I just need a solution right now.
Current code snippet used is this:
<fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' height='110' width='560'/>
Let me break the question into small parts(incase someone is not a native speaker and wants to help/learn about this problem)
I want to detect if the loading page has ?m=1 in its URL or not. The canonical URL for this is data:post.url applied as
expr:href='data:post.url'
If a ?m=1 is detected from data:post.URL , I want to remove it and send the remaining URL into expr:href= so that both my URLs
are identified the same when my website displays facebook comments.
Click the image link below to look at this image please. This is the same URL but the
comments are being sent to me as if they're from different URLs. I
want them to appear under the same thread.
This is it--> http://i.stack.imgur.com/M7fK2.png
I haven't found this particular answer anywhere and I am hopeful that
some creative solutions will pop out in this site!
In your code
<fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' height='110' width='560'/>
Use data:post.canonicalUrl instead of data:post.url
This is the Blogger's layout tag for getting the Canonical URL of a blog post (This will always default to the blogspot.com domain, so there won't be ccTLD issues as well)

How to recreate an image preview from outside websites?

Similar to Facebook's UI, I am attempting at generating a preview image from an external linked website. So that when a user types in a url he is linking, the UI will by default, scan that site for an img and scrape a preview thumb.
Is there a specific name for this technique? Or can anyone point me in the direction of learning this?
Thanks so much!
Its called scraping. There is a library called scrAPI.
Here is a code example http://crunchlife.com/articles/2007/08/13/code-snippet-ruby-image-scraper
There are a couple different options when it comes to page scraping. Another one to check out would be nokogiri, http://nokogiri.org/. You can find tutorials on how to use it at http://nokogiri.org/tutorials.
Instead of grabbing an image from the site, why not grab the image of the entire page? You could make use of a free screenshot service like http://www.websnapr.com/ or http://www.thumbshots.com/ among others. In one application, I use that for my preview image, and use nokogiri to scrape the page title and description. Just an idea.

Resources