2017 © Pedro Peláez
 

library freebird-php

Twitter API v1.1 Application only authoization library

image

corbanb/freebird-php

Twitter API v1.1 Application only authoization library

  • Wednesday, July 1, 2015
  • by corbanb
  • Repository
  • 2 Watchers
  • 16 Stars
  • 7,750 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 7 Versions
  • 1 % Grown

The README.md

Freebird - Twitter App Only Auth

Welcome

Freebird is a simple library designed to make connecting to Twitter's API as simple as possible on the server. Freebird was written to make life as easy as possible on developers to connect thier application servers to Twitter's API. Freebird uses the Application Only Authentication methodology, to find out more on this you can view the docs here from the offical Twitter API website., (*1)

Installing via Composer

The recomended way to install Freebird is through Composer., (*2)

# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add Freebird as a dependency
php composer.phar require corbanb/freebird-php:~0.2.4

After installing, you need to require Composer's autoloader:, (*3)

require 'vendor/autoload.php';

Freebird Dependencies

"php": ">=5.3.0"
"guzzle/guzzle": "3.1.*"

Basic Usage

Once installed you can easily access all of the Twitter API endpoints supported by Application Only Authentication. You can view those enpoints here., (*4)

<?php

// Setup freebird Client with Twitter application keys
$client = new Freebird\Services\freebird\Client();

// init bearer token
$client->init_bearer_token('your_key', 'your_secret_key');

// optional set bearer token if already aquired
// $client->set_bearer_token('your_bearer_token');

// Request API enpoint data
$response = $client->api_request('favorites/list.json', array('screen_name' => 'corbanb'));

// return api data
echo $response;

Unit Testing

Not complete. Please feel free to fork and submit pull requests to help contribute to Freebird. Thanks., (*5)

The Versions

01/07 2015

dev-master

9999999-dev https://github.com/corbanb/freebird-php

Twitter API v1.1 Application only authoization library

  Sources   Download

MIT

The Requires

 

The Development Requires

api application sdk twitter freebird app only auth

28/02 2015

v0.2.3

0.2.3.0 https://github.com/corbanb/freebird-php

Twitter API v1.1 Application only authoization library

  Sources   Download

MIT

The Requires

 

The Development Requires

api application sdk twitter freebird app only auth

12/02 2014

v0.2.2

0.2.2.0 https://github.com/corbanb/freebird-php

Twitter API v1.1 Application only authoization library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api application sdk twitter freebird app only auth

12/12 2013

v0.2.1

0.2.1.0 https://github.com/corbanb/freebird-php

Twitter API v1.1 Application only authoization library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api application sdk twitter freebird app only auth

07/06 2013

v0.2.0

0.2.0.0 https://github.com/mademovement/freebird-php

Twitter API v1.1 Application only authoization library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api application sdk twitter freebird app only auth

06/06 2013

v0.1.1

0.1.1.0 https://github.com/mademovement/freebird-php

Twitter API v1.1 Application only authoization library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api application sdk twitter freebird app only auth

06/06 2013

v0.1.0

0.1.0.0 https://github.com/mademovement/freebird

Twitter API v1.1 Application only authoization library

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

api application sdk twitter freebird app only auth