Closed sglessard closed 13 years ago
I've created the $storedTokenAccess by using $this->getUser()->connect('twitter'); then removed the code line.
$this->getUser()->signIn($someSfGuardUser);
$this->getUser()->addToken($storedTokenAccess);
var_dump($this->getUser()->getMelody('twitter')->getMe());
var_dump($this->getUser()->getMelody('twitter')->get('statuses/friends_timeline.json'));
Todo : test it.
Hello,
I was using curl to get tweets from a single user (some company) to print on some website. I recently installed sfMelody to use OAuth. I don't figure out how to use "Access token" and "Access token secret" in app.yml. I tried some lines, like :
or
Is there a way to use Twitter/sfMelody with a predefined user, without any access-url redirection?