1

Twitter allows applications to set a "byline" that appears after the tweeter's name, but I don't see how to set that. I'm currently using the Python API tweepy. Any ideas?

Doug Blank
  • 2,031
  • 18
  • 36
  • You need to register the application with Twitter, IIRC. – alex Feb 12 '11 at 00:21
  • possible duplicate of [How to set User-Agent in python-twitter ?](http://stackoverflow.com/questions/1803669/how-to-set-user-agent-in-python-twitter) – alex Feb 12 '11 at 00:23
  • No, this isn't about HTTP headers, and I already have the app registered. – Doug Blank Feb 12 '11 at 00:35

1 Answers1

3

How do I get “from [MyApp]” appended to updates sent from my API application?

We now recommend developers use OAuth to perform authentication with the API. When applications use OAuth, Twitter automatically knows the source of status updates. We are therefore able to append source attribution (from "[MyApp]") to tweets. If you would like tweets from your application to receive a source parameter, please register an application and implement OAuth authentication. We will automatically include your application as the source for any tweets sent from your application.

We originally allowed applications to create a source parameter for non-OAuth use but that has been discontinued. Applications pre-OAuth source parameters will remain active, but new registrations are no longer accepted.

This FAQ tells you everything.

Community
  • 1
  • 1
alex
  • 479,566
  • 201
  • 878
  • 984
  • I hadn't seen that, but this must not be the whole story as have tweets working from my registered app via OAuth, but they are still missing the byline. But maybe they will show up later... – Doug Blank Feb 12 '11 at 00:34
  • @alex: That is how tweets would be listed with BasicAuth but now OAuth is required it should be something else. I'm curious what D.S. Blank is seeing if not his apps name. – abraham Feb 12 '11 at 01:51
  • It doesn't show anything... it is as if the tweets are from me (the account against which the oauth is used). For example, see: – Doug Blank Feb 13 '11 at 04:04
  • http://twitter.com/#!/doug_blank None of the top tweets (as of Feb 12, 2011) are from me, but from my code as described above. The "from" never did kick in. – Doug Blank Feb 13 '11 at 04:14
  • 1
    The "via gramps-tweet" is now showing. Thanks to all for suggestions. – Doug Blank Apr 14 '11 at 11:12