xitiomet / python-twitter

fork of python-twitter

Mostly the same, but i added support for Mentions http://apiwiki.twitter.com/Twitter-REST-API-Met...

Clone this repository (size: 393.3 KB): HTTPS / SSH
$ hg clone http://hg.openstatic.org/python-twitter
commit 129: 77a955c5c388
parent 128: ad8837d19355
branch: dclinton
Add the missing in_reply_to_screen_name field to the Status protobuf
dcli...@b35c0ba3-1128-0410-9219-0b39014e361d
13 months ago

Changed (Δ490 bytes):

raw changeset »

twitter.proto (2 lines added, 0 lines removed)

twitter_pb2.py (9 lines added, 2 lines removed)

Up to file-list twitter.proto:

@@ -74,6 +74,8 @@ message Status {
74
74
  optional uint64 in_reply_to_status_id = 6;
75
75
  // unique id for the user that wrote the status a status replies to (see id)
76
76
  optional uint64 in_reply_to_user_id = 7;
77
  // display name for the user that wrote the status a status replies to (see screen_name)
78
  optional string in_reply_to_screen_name = 10;
77
79
  // boolean indicating if a status has been marked as a favorite
78
80
  optional bool favorited = 8;
79
81
  optional User user = 9;

Up to file-list twitter_pb2.py:

@@ -318,14 +318,21 @@ _STATUS = descriptor.Descriptor(
318
318
      is_extension=False, extension_scope=None,
319
319
      options=None),
320
320
    descriptor.FieldDescriptor(
321
      name='favorited', full_name='twitter.Status.favorited', index=7,
321
      name='in_reply_to_screen_name', full_name='twitter.Status.in_reply_to_screen_name', index=7,
322
      number=10, type=9, cpp_type=9, label=1,
323
      default_value=unicode("", "utf-8"),
324
      message_type=None, enum_type=None, containing_type=None,
325
      is_extension=False, extension_scope=None,
326
      options=None),
327
    descriptor.FieldDescriptor(
328
      name='favorited', full_name='twitter.Status.favorited', index=8,
322
329
      number=8, type=8, cpp_type=7, label=1,
323
330
      default_value=False,
324
331
      message_type=None, enum_type=None, containing_type=None,
325
332
      is_extension=False, extension_scope=None,
326
333
      options=None),
327
334
    descriptor.FieldDescriptor(
328
      name='user', full_name='twitter.Status.user', index=8,
335
      name='user', full_name='twitter.Status.user', index=9,
329
336
      number=9, type=11, cpp_type=10, label=1,
330
337
      default_value=None,
331
338
      message_type=None, enum_type=None, containing_type=None,