[twitter-dev] Friendship/Create usage
i trying to use friendship/create API function and isnt works //-- define('BOT_UID', '150359788'); $result89 = $connection-post('friendship/create/'.BOT_UID); //--- is this the correct usage?
Re: [twitter-dev] Friendship/Create usage
Hi, You need to include the format for the response in the request. We recommend using the explicit version of the request though. For example: /friendships/create.json?user_id=150359788 More information is available on our developer resources site: http://dev.twitter.com/doc/post/friendships/create/:id Hope that helps, Matt On Mon, Jul 12, 2010 at 2:07 PM, lu5ceh ignacio.santo...@gmail.com wrote: i trying to use friendship/create API function and isnt works //-- define('BOT_UID', '150359788'); $result89 = $connection-post('friendship/create/'.BOT_UID); //--- is this the correct usage? -- Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris
Re: [twitter-dev] Friendship/Create usage
You are missing the *s*. Try: $result89 = $connection-post('friendships/create/'.BOT_UID); 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 Mon, Jul 12, 2010 at 14:07, lu5ceh ignacio.santo...@gmail.com wrote: i trying to use friendship/create API function and isnt works //-- define('BOT_UID', '150359788'); $result89 = $connection-post('friendship/create/'.BOT_UID); //--- is this the correct usage?