[twitter-dev] Re: Issue on Follow feature

2010-04-12 Thread nischalshetty
You can use http://twitter4j.org for your app. It's an open source API
for Java. Has an awesome community around it as well and the developer
Yusuke is smart and helpful!


On Apr 12, 9:29 pm, Ernandes Jr. ernan...@gmail.com wrote:
 Hi all,

 I have been struggling to get Follow feature working on a Java API that I am
 working on. For every request I am getting the error bellow:

 hash
   request/1/notifications/follow/ernandesmjr.xml/request
   errorThere was a problem following the specified user./error
 /hash

 According to the feature's spec, I just need a simple post request to a
 given user, 
 e.g.,http://api.twitter.com/1/notifications/follow/ernandesmjr.xml. To 
 perform a
 quick and straighforward test, I created this HTML file:

 html
   head
     titleFollow Usertitle
   /head
 body
   form action=http://api.twitter.com/1/notifications/follow/ernandesmjr.xml;
 method=post
     input type=submit/
   /form
 /body
 /html

 Either way, I get the same error as I get with Java.

 Any idea? Am I missing something?

 Thanks in advance.

 Regards,

 --
 Ernandes Jr.
 -
 ALL programs are poems. However,
 NOT all programmers are poets.


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Issue on Follow feature

2010-04-12 Thread Ernandes Jr.
In fact, I am developing a mobile Java API, not an app, which I am
attempting to get this feature working. Anyway, I will take a look at
twitter4j source code to see which magic it performs. :)

On Mon, Apr 12, 2010 at 2:19 PM, nischalshetty nischalshett...@gmail.comwrote:

 You can use http://twitter4j.org for your app. It's an open source API
 for Java. Has an awesome community around it as well and the developer
 Yusuke is smart and helpful!


 On Apr 12, 9:29 pm, Ernandes Jr. ernan...@gmail.com wrote:
  Hi all,
 
  I have been struggling to get Follow feature working on a Java API that I
 am
  working on. For every request I am getting the error bellow:
 
  hash
request/1/notifications/follow/ernandesmjr.xml/request
errorThere was a problem following the specified user./error
  /hash
 
  According to the feature's spec, I just need a simple post request to a
  given user, e.g.,
 http://api.twitter.com/1/notifications/follow/ernandesmjr.xml. To perform
 a
  quick and straighforward test, I created this HTML file:
 
  html
head
  titleFollow Usertitle
/head
  body
form action=
 http://api.twitter.com/1/notifications/follow/ernandesmjr.xml;
  method=post
  input type=submit/
/form
  /body
  /html
 
  Either way, I get the same error as I get with Java.
 
  Any idea? Am I missing something?
 
  Thanks in advance.
 
  Regards,
 
  --
  Ernandes Jr.
  -
  ALL programs are poems. However,
  NOT all programmers are poets.


 --
 To unsubscribe, reply using remove me as the subject.




-- 
Ernandes Jr.
-
ALL programs are poems. However,
NOT all programmers are poets.