ckailash/twitter-app-only-auth

Twitter Application Only Auth API for Laravel, which is documented here: https://dev.twitter.com/oauth/application-only. With Application-only authentication you don’t have the context of an authenticated user and this means that any request to API for endpoints that require user context, such as posting tweets, will not work. However, it comes with a higher API rate limit
49
Install
composer require ckailash/twitter-app-only-auth
Latest Version:1.0.4
PHP:>=5.4.0
License:MIT
Last Updated:Nov 17, 2015
Links: GitHub  ·  Packagist
Maintainer: ckailash

Twitter Application-only authentication

Twitter Application-only API for Laravel 5.

Installation

Add ckailash/twitter-app-only-auth to composer.json.

"ckailash/twitter-app-only-auth": "~1.0"

Run composer update to get the latest version

Or run

composer require ckailash/twitter-app-only-auth

Now open up /config/app.php and add the service provider to your providers array.

'providers' => [
	'Ckailash\TwitterAppOnlyAuth\TwitterAppOnlyAuthServiceProvider',
]

Configuration

Run composer dump-autoload to reload the autoload files

Run php artisan twitter-app-only-auth:generate-bearer <twitter-consumer-key> <twitter-consumer-key-secret> to get the bearer token required to interact with the twitter API as an app.

Run php artisan vendor:publish and modify the config file with your own information.

/config/twitter-app-only-auth-config.php

Add the following to your .env file and you'll be on your way:

T_CONSUMER_KEY= 
T_CONSUMER_SECRET= 
T_BEARER_TOKEN= 

Related Packages

despark/laravel-social-feeder

Social feeder for laravel. With this you can get feed from facebook page, twitte...

134 13
thomaswelton/laravel-oauth

Laravel package for the simplification and integration of many of your users mos...

961 41
wobeto/twitter

Laravel 4 Service Provider to interact with twitter account, like return a colle...

135 1
socialh4ck/twitter

A simple Laravel 4 service provider for including the TwitterOAuth library.

195 0
sagsoz06/seo-helper

SEO Helper is a framework agnostic package that provides tools & helpers for SEO...

131 0