Hello Paresh,

add me  into your buddy list *futuristicartis...@gmail.com so ill try my
best resolve this... as i can help... *
*
*
*
*
On Sun, Feb 6, 2011 at 2:52 PM, Paresh <paresh.na...@gmail.com> wrote:

> Hi,
> I am Paresh, a final year student in computer engg. I am an absolute
> newbie as far as twitter development is concerned though i am hugely
> interested in working on it.
>
> Currently, i am developing a toy application, where one could send
> tweets, receive them and some other things. I am using
> Services_Twitter pear package for that.
>
> First of all, i don't know if this a good way to go about it. In what
> other way can i communicate with twitter APIs??
> So here is the piece of code that is creating problem
>
> <?php
>
> include_once 'Services/Twitter.php';
>
> try {
>
>  $service = new Services_Twitter('pareshnakhe','mahabharat');
>  if($service)
>        print("first call done\n");    //this is seen on screen
>  $service->statuses->update('Coding with pear');
>
> //but for this it is giving "ERROR: Basic authentication is not
> supported"
>
>  $service->account->end_session();
> } catch (Exception $e) {
>  die('ERROR: ' . $e->getMessage());
> }
> ?>
>
> Can anyone please tell me where am i going wrong??
> Pear is working fine.
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to