Skip to main content

Cheat Sheet to convert social media sharing address



Here is how you can share social media sharing URL when we can't  use Non-alphanumeric characters. 

So to include a colon (:), slash (/), ampersand (&), question mark (?), etc., we have to use (gulp) the HTML numeric code for that character.


http://www.yoursite.com/yourbookpage/?detail&buy


To use this inside of one of the social networking site’s URL’s, we’re going to need to change all of those non-letter characters to HTML codes. Here’s that cheat sheet I was talking about.
Change the colon (:) to %3A
Change all slashes (/) to %2F
Change all question marks (?) to %3F
Change all ampersands (&) to %26
Change all spaces ( ) to %20

When you make those substitutions, your URL will look like this:


http%3A%2F% 2Fwww.yoursite.com%2Fyourbookpage%2F%3Fdetail&buy


Ugly, but browsers will read them just fine. To create those social links just replace the bit that matches our dummy address above with your own.

Facebook: For this link, we’re going to replace the web page URL, which goes after the “u=” attribute, and we’re also going to pre-enter some text (the author’s name and the book’s title, in this example) after the “t=” attribute. For that text, instead of using %20 for spaces, use the plus symbol (+).


https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.yoursite.com%2Fyourbookpage%2F%3Fdetail&26;buy&t=Your+Name+-+Your+Title&display=popup


Twitter: This link is easy; just paste our doctored URL after the “url=” attribute:


https://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.yoursite.com%2Fyourbookpage%2F%3Fdetail&26;buy


Pinterest: For this link, we’re going to use your web page’s actual, undoctored URL, and we’re again going to pre-enter some text—your name, the book’s title, and more text (the short description, for example) after the “description=” attribute.

This time, we’re using %20 for spaces. We are also going to need a web address for your cover art (here called “cover.jpg”) which goes after the “media=” attribute.


http://pinterest.com/pin/create/button/?url=http://www.yoursite.com/yourbookpage/?detail&buy&media=http://www.yoursite.com/yourbookpage/images/cover.jpg&description=The%20best%20book%20ever%20written%20blah%20blah

Popular posts from this blog

The possibility of quantum computing breaking encryption algorithms

The possibility of breaking encryption algorithms is a powerful motivating factor for many countries of the world. Thus, knowledge of the enemy's encryption systems could give a huge advantage in intelligence, while at the same time contributing to the conduct of new fundamental research in the field of physics, since modern experimental systems have at their disposal only less than 100 qubits.    To achieve the useful computing performance of a supercomputer, we probably need machines with hundreds of thousands of qubits. In order for the devices to function correctly, they must correct all minor random errors in the software. In a quantum computer, such errors arise due to imperfect elements of the circuit and the interaction of qubits with their environment. For these reasons, qubits can lose coherence in literally a split second. A quantum computer with 100 qubits can simultaneously represent 2100 solutions. For some tasks, this exponential parallelism can be used to create a h

How to install cloudflare wrap on linux

 command mode dumb......expert user edition   millen@TechGlyphs-Studio:~/Desktop$ wrap-cli wrap-cli: command not found millen@TechGlyphs-Studio:~/Desktop$ curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg Command 'curl' not found, but can be installed with: sudo snap install curl  # version 7.86.0, or sudo apt  install curl  # version 7.81.0-1ubuntu1.6 See 'snap info curl' for additional versions. [sudo] password for millen:  gpg: no valid OpenPGP data found. millen@TechGlyphs-Studio:~/Desktop$ sudo apt  install curl Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required:   chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libflashrom1 libftdi1-2   libgstreamer-plugins-bad1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be in

Simple steps to protect your privacy.

  Step 1. Download DuckDuckGo on all your devices With just one download you'll get tracker blocking, private searching, increased encrypting, and privacy grading on all of your browsing. Our mobile app for iOS/Android (DuckDuckGo Privacy Browser) and browser extensions for Firefox, Chrome, and Safari (DuckDuckGo Privacy Essentials) has all of this in one seamless package. Privacy, simplified. Step 2. Update your software Your device operating systems get out-of-date over time, and old software can contain security bugs or settings that leak personal data. Set your devices (and the apps on them) them to update automatically. That way you'll always have the latest, safest versions. Step 3. Update your privacy settings Make sure your devices are using the best privacy settings. Here are step-by-step instructions for all the major device types. Especially make sure you adjust per-app location settings, so that your location history isn’t leaking where it shouldn’t. For extra bonus