This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Description
On your documentation we can see:
namespace MyApp\MyBundle\Security\User\Provider;
class TwitterProvider implements UserProviderInterface
{
[...]
public function findUserByTwitterId($twitterID)
{
return $this->userManager->findUserBy(array('twitterID' => $twitterID));
}
public function loadUserByUsername($username)
{
$user = $this->findUserByTwitterId($username);
[...]
To permit association between logged user and authorized user on twitter I have changed code:
[...]
public function findUserByTwitterId($username)
{
return $this->userManager->findUserBy(array('twitter_username' => $username));
}
[...]
because at this moment in the workflow we manage the twitter_username instead of twitter_id