There are a couple of social networks which are popular around the world.
Nowadays website visitors or users are getting lazier and lazier, the most uncomfortable activity on the Internet is probably “Creating The Account“.
I recommend you to read all mentioned steps below carefully.
Follow these steps to get user’s profile data with LinkedIn API using PHP
Step 1: Creating Application at LinkedIn’s developer console and setting things up.
after filling the form up you will get redirected to the application’s dashboard page (something like bellow one)
In my previous post we have learnt How to close a DIV container when clicking outside using Jquery, I know it’s kinda off topic, because in this topic we are going to learn to convert timestamp to time ago in PHP, but it is my duty to expose all those interesting articles so that you can learn more.
Guys If you have used Facebook and you update status on your wall, upload photo or share something on Facebook then after uploading it, It display time as Just Now or you can also see your previous post time, it show like one week or month or year or day ago.
Importance of this System (Facebook like time ago system in PHP)
It is common to show dates on the Web in the format such as Published on January 12th, 2017, or 05/17/2017, 09:40:25 and 2017-09-12.
Each of the above examples shows the full date or time of some kind of activity on web applications – be it a published blog article, or a visitor comment, or perhaps an uploaded video.
After all, they are informative and human readable!