Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
Lib
 
 
 
 
 
 
 
 

README.md

Sample Use In A Controller Action

$twitterService = $this->get('aw_twitter_oauth');
$twitterUser = $twitterService->getUserFromSession();
if (!$twitterUser) {
    return $this->redirect(
        $this->generateUrl('aw_twitter_oauth_auth',
            array('continue' => $this->getRequest()->getUri())));
}

Install

  • If you use Git, run git submodule add git@github.com:amyboyd/symfony2-twitter-oauth-bundle.git path/to/bundles/AW/Bundle/TwitterOAuthBundle

  • If you don't use Git, download the source and put it into your bundles directory.

  • Enable AWTwitterOAuthBundle in your app/AppKernel.php

  • Copy the contents of Resources/config/parameters.yml.sample to your own app/config/parameters.yml

  • Review app/console doctrine:schema:update --dump-sql

  • Run app/console doctrine:schema:update --force if the above was OK.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.