Download the PHP package pingpong/twitter without Composer
On this page you can find all versions of the php package pingpong/twitter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Rated 2.00 based on 1 reviews
Informations about the package twitter
Twitter OAuth for Laravel
Server Requirements
Require PHP 5.4+ or higher.
Installation
For Laravel 4. please use version `1.`.
Open your composer.json file, and add the new required package.
Next, open a terminal and run.
After the composer updated. Add new service provider in app/config/app.php.
Next, Add new alias.
Next, open a terminal and run.
Done.
Configuration File
Usage
Authorize the user.
Authenticate the user.
You can also override the callback url when authorize or authenticate the user.
Get callback after authorize or authenticate the user.
Get account verify credentials.
Global API call.
Helper method for call Twitter API.
GET Request
POST Request
PUT Request
PATCH Request
DELETE Request
Set return format.
Enable and disable curl.
Set connection and request timeout.
Allows a Consumer application to exchange the OAuth Request Token for an OAuth Access Token with xAuth.
Set token.
Get bearer token.
Set bearer token.
Example
Authenticate the user.
Authorize the user.
Get twitter callback.
Logout the user.
Post tweet.
Upload media.
REST API v1.1 Resources
Timelines
Timelines are collections of Tweets, ordered with the most recent first.
GET statuses/mentions_timeline
Returns the 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user.
GET statuses/user_timeline
Returns a collection of the most recent Tweets posted by the user indicated by the screen_name or user_id parameters.
GET statuses/home_timeline
Returns a collection of the most recent Tweets and retweets posted by the authenticating user and the users they follow.
GET statuses/retweet_of_me
Returns the most recent tweets authored by the authenticating user that have been retweeted by others.
Tweets
Tweets are the atomic building blocks of Twitter, 140-character status updates with additional associated metadata.
GET statuses/retweets/:id
Returns a collection of the 100 most recent retweets of the tweet specified by the id parameter.
GET statuses/show/:id
Returns a single Tweet, specified by the id parameter.
POST statuses/destroy/:id
Destroys the status specified by the required ID parameter.
POST statuses/update
Updates the authenticating user's current status, also known as tweeting.
POST statuses/retweet/:id
Retweets a tweet.
POST statuses/update_with_media
Updates the authenticating user's current status and attaches media for upload.
GET statuses/oembed
Returns information allowing the creation of an embedded representation of a Tweet on third party sites.
GET statuses/retweeters/ids
Returns a collection of up to 100 user IDs belonging to users who have retweeted the tweet specified by the id parameter.
Search
Find relevant Tweets based on queries performed by your users.
GET search/tweets
Returns a collection of relevant Tweets matching a specified query.
Direct Messages
Direct Messages are short, non-public messages sent between two users.
GET direct_messages
Returns the 20 most recent direct messages sent to the authenticating user.
GET direct_messages/sent
Returns the 20 most recent direct messages sent by the authenticating user.
GET direct_messages/show
Returns a single direct message, specified by an id parameter.
POST direct_messages/destroy
Destroys the direct message specified in the required ID parameter.
POST direct_messages/new
Sends a new direct message to the specified user from the authenticating user.
Favorites
Users favorite tweets to give recognition to awesome tweets, to curate the best of Twitter, to save for reading later, and a variety of other reasons. Likewise, developers make use of "favs" in many different ways.
GET favorites/list
Returns the 20 most recent Tweets favorited by the authenticating or specified user.
POST favorites/destroy
Un-favorites the status specified in the ID parameter as the authenticating user.
POST favorites/create
Favorites the status specified in the ID parameter as the authenticating user.
NOTE: Not all functions and Facade APIs documented
License
This package is open-sourced software licensed under The BSD 3-Clause License
All versions of twitter with dependencies
illuminate/support Version 5.1.*
illuminate/session Version 5.1.*
illuminate/config Version 5.1.*
illuminate/routing Version 5.1.*
illuminate/http Version 5.1.*
jublonet/codebird-php Version ~2