You will want to use the friendships method. http://dev.twitter.com/doc/post/friendships/create/:id
$opResult = $connection->post('friendships/create/xxxxxx'); Abraham ------------- Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Sat, Jul 17, 2010 at 11:35, EastSideDev <eastside...@gmail.com> wrote: > I am trying to follow a user. The message I get is: There was a > problem following the specified user. > > I am calling it like this: > > $opResult = $connection->post('notifications/follow', > array('screen_name' => 'xxxxxx'), TRUE); > > A dump of the $opResult array produces this: > > Array > ( > [request] => /1/notifications/follow.json > [error] => There was a problem following the specified user. > ) > > > On Jul 17, 10:50 am, Abraham Williams <4bra...@gmail.com> wrote: > > Are you trying to follow a user or enable SMS notifications for a user? > > > > What error message are you getting? > > > > Abraham > > ------------- > > Abraham Williams | Hacker Advocate |http://abrah.am > > @abraham |http://projects.abrah.am|http://blog.abrah.am > > This email is: [ ] shareable [x] ask first [ ] private. > > > > On Sat, Jul 17, 2010 at 10:28, EastSideDev <eastside...@gmail.com> > wrote: > > > I am using the twitteroauth PHP library. It's working fine for status > > > updates, but I am getting an error when I try to use it for > > > notificaitons/follow. > > > > > This is not an issue of incorrect/expired tokens, etc, as I am doing > > > two successive calls from the same app. The first does a status > > > update, and the second, using the same credentials, tries to follow a > > > user. When I looked at the test sample that was included with the > > > library, it did not have a test case for follow (the comments say it > > > does, but I did not find any). > > > > > Anyone with experience using this library for oAuth based follow? >