API Tutorials

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




Get Facebook Access Token Using PHP SDK v5

Get Facebook Access Token Using PHP SDK v5




In my previous tutorial How to Auto Post on Facebook Using PHP, I have explained Auto Post on Facebook using PHP SDK v3.2.3. Now in this post I will show you, how you get Facebook Access Token using PHP SDK v5.0. Facebook access token is required to post on user’s Facebook timeline/wall. Create Facebook APP: To get the Facebook Access token you need to create Facebook App. To create a …

Continue reading




How to Get User Twitter Access Token

How to Get User Twitter Access Token




In my previous posts I have explained about how to create a Twitter App and get Consumer Keys and your Twitter Access Token. Now In this post I will explain how to get User Twitter Access Token. For this tutorial, we need a Twitter App and consumer key that will communicate with twitter using Twitter API. So please read How to Auto Post on Twitter Using PHP – Part 1 …

Continue reading