History | Log In      
Issue Details (XML | Word | Printable)

Key: TFJ-8
Type: New Feature
Status: Closed
Resolution: Fixed
Priority: Minor
Assignee: Yusuke Yamamoto
Reporter: Yusuke Yamamoto
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

ability to set "source" parameter and request headers

Created: 29/Jun/07 10:45 AM   Updated: 16/Jul/07 02:22 PM
Component/s: Core
Affects Version/s: 1.0, 1.0.1
Fix Version/s: 1.0.2

 Description  « Hide
It is possible to link the Twitter client's site from the "from" field of the Twitter site.
It's done by adding "source" parameter when updating the status.
By default Twitter4J sets "Twitter4J" to the parameter.
It's nice to make it configurable.
- Twitter "from" field

Additionally it is suggested to send "X-Twitter-Client", "X-Twitter-Client-Version" and "X-Twitter-Client-URL" as request headers.
Those parameters should be also configurable.
-Twitter Fan Wiki - Unofficial API Docs - Request Headers

 All   Comments   Change History   Subversion Commits      Sort Order:
Yusuke Yamamoto - [16/Jul/07 02:22 PM ]
added following methods to Twitter class:
    public void setSource(String source)
    public void setRequestHeader(String name,String value)