sprinklr-inc/twitter4j-ads

Need to use custom User-Agent

Closed this issue · 0 comments

Without using a custom User-Agent, the traffic from twitter4j-ads is indistinguishable from anyone using the twitter4j library and it becomes difficult to track the adoption of this SDK.

I would recommend to use this format for consistency with other official library:

twitter4j-ads version: 1.0.0 platform: Java

Optionally other environment information can be listed at the end if it is easily accessible. Here are examples of Ruby and Python user agents:

twitter-ads version: 0.2.1 platform: Python 2.7 (CPython/darwin)
twitter-ads version: 0.3.4 platform: ruby 2.2.2 (x86_64-darwin15) (OAuth gem v0.5.1)