DEV Community

Cover image for How to get a user’s LinkedIn account, Twitter username, and more from a single line of code
Abel Lifaefi Mbula
Abel Lifaefi Mbula

Posted on

How to get a user’s LinkedIn account, Twitter username, and more from a single line of code

Users' data is the gold for your business. But, how do you know more about your users when you only have or collect a piece of information like phone numbers or emails?

We are living in a digital age where people are more connected than ever before and almost everyone is on social media like Twitter or LinkedIn. One way to know more about your users is to go on the social media they are. But, this will only help if you have a tiny number of users because you have to

  • Try whether they are on Twitter or LinkedIn or another social media
  • Manually go on the user social media account to have information

This is not productive for your business, and you shouldn’t even try it. There need to be something better to help you. Like gold, the quality of data is also important.

Looking around, we could not find a suitable solution that could help us enough, just like you. So, we developed one, and we call it Kelvin Data. Kelvin Data can be used by developers through an API (GraphQL or RESTful) or by anyone through a web portal.

Your business is so important to us, so we have designed Kelvin Data with that in mind. We focus on structuring and organizing data from around the web to make it accessible and easy-to-use so that you have a ready to use data set while still continuing running your business.

Let’s take a deep dive here to see how to use Kelvin Data to better know your users.

Kelvin Data 101

No matter what your site or app does, knowing more about your users gives you more opportunities. Let’s see some of them:

  • You can easily fight fraud
  • Send email based on their location
  • Increase your sale power
  • And more

Thanks to Kelvin Data, you can achieve your goal with easy, no matter what it is. Here is how it works.

First, you need an API key for authentication with us. You can find one here. Now that you have a valid key, you can make a call to our API by providing us with at least one piece of information you have for your user, like email or phone number.

Let’s consider an example. Your user email is jared@ycombinator.com. The API endpoint you’ll call looks like this:

https://api.kelvindata.com/rest/v1/search-v2?email=jared@ycombinator.com&apiKey=your-apikey-here

And this is the result you’ll have (I’m using the web portal here).

Kelvin search


Kelvin Data is a powerful and simple platform whose mission is to structure and organize data from around the web to make it accessible and easy-to-use. We offer flexible pricing plans to meet your business needs. Sign up to get started, or contact us to learn more.

Top comments (0)