API Tutorials

convert currency in PHP using Google Finance API

In this tutorial, I will show you how to convert currency in PHP using Google Finance API. Using the API you can easily convert any currency to your desired country currency. You have to send out http request to Google finance with three values – amount, from currency and to currency code. It sends back the response as HTML which you have to parse and extract the converted amount. PHP …

Continue reading

How to get YouTube subscribers count in php

How to get YouTube subscribers count in php

In this tutorial I will show you how to get YouTube subscribers count in php using api v3.0. We need just an API KEY to get work. Below I am sharing all the steps to get api key and get subscribers count. How to get YouTube API key Below are the steps to get YouTube API key 1. Go to https://console.developers.google.com/ and login to your google account. 2. Navigate to …

Continue reading

Shorten URL using Adfly API in PHP

Shorten URL using Adfly API

In previous tutorials I have explained shorten URL API of Google and Bitly. Now in this tutorial I will show you how to Shorten URL using Adfly API in PHP. It is one of the most popular URL shortener service provider. Also you can earn money through this service, that is the main reason of it’s popularity. It is providing an API to easily implement this service. To get the …

Continue reading

Shorten URL using Bitly URL Shorten API

Shorten URL using Bitly URL Shorten API

My previous tutorial was about Shorten URL using Google URL Shortener API. In this tutorial I will show you How to Shorten URL using Bitly URL Shorten API with PHP. Bitly is one of the most powerful and popular URL shorten and bookmark service. It offers simple and powerful API to generate shorten URL from long URLs. To use Bitly URL Shorten API you have to signup for an API …

Continue reading

Shorten URL using Google URL Shortener API

Shorten URL using Google URL shortener API

In this tutorial I will show you how you can shorten URL using Google URL Shortener API with PHP. Google provides URL shortener service (goo.gl) with a Google URL Shorten API key. Get detail information of Google Shortener API from http://code.google.com/apis/urlshortener. Get your API key by creating a project or existing project from https://console.developers.google.com. I have created a basic GoogleShortUrlApi class for shorten long URLs and expand shortened URLs. This …

Continue reading

Auto Post on LinkedIn Using PHP OAuth

Auto Post on LinkedIn Using PHP OAuth

In previous tutorials, I have explained Auto Post on Twitter and Facebook. Now in this tutorial I will explain, how you can Auto Post on LinkedIn using PHP OAuth and LinkedIn API. As we already know how we can get user Access Token for LinkedIn, in this tutorial we will share the content on LinkedIn using this Access Token, PHP OAuth and LinkedIn API. Get Access Token You can get …

Continue reading

Get User Access Token for LinkedIn

Get User Access Token for LinkedIn

In my previous tutorials I have explained how you can get user access token for Twitter and Facebook. In this tutorial I am sharing, how you can get user access token for LinkedIn. To get Access Token for LinkedIn you need to create a LinkedIn application and get the Authentication Keys Client ID and Client Secret. Also you will need to use LinkedIn API with OAuth PHP library to get …

Continue reading