Closed tomtkarl closed 11 years ago
Will probably need to use Twitter lib e.g. Twitter4J http://twitter4j.org/en/code-examples.html since Twitter API requres authentication...
Using TwitterFunctionProvider
the following methods have been added:
POST:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header />
<soap:Body>
<m:TwitterRequest xmlns:m="https://api.twitter.com">
<method>GetHomeTimeline</method>
</m:TwitterRequest>
</soap:Body>
</soap:Envelope>
and GET:
http://localhost:8080/com.thoughtress.jsp/MyEndpoint/TwitterRequest?method=GetHomeTimeline
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header />
<soap:Body>
<m:TwitterRequest xmlns:m="https://api.twitter.com">
<method>ShowStatus</method>
<id>306815712381521920</id>
</m:TwitterRequest>
</soap:Body>
</soap:Envelope>
and GET:
http://localhost:8080/com.thoughtress.jsp/MyEndpoint/TwitterRequest?method=ShowStatus&id=306815712381521920
https://dev.twitter.com/docs/api/1.1