trabajo-afectivo/test/data/twitter/webhook_events/tweet_create-user_mention_extended.yml

114 lines
3.6 KiB
YAML
Raw Normal View History

--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
for_user_id: '2975699229'
user_has_blocked: false
tweet_create_events:
- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
created_at: Mon Dec 23 13:03:29 +0000 2019
id: 1209097192914313216
id_str: '1209097192914313216'
text: |-
@ScruffyMcG
This is a test of Zammad's handling of extended tweets. When Twitter sends tweet data (as JSON) to web… https://t.co/cXMQkk9sQb
source: <a href="https://mobile.twitter.com" rel="nofollow">Twitter Web App</a>
truncated: true
in_reply_to_status_id:
in_reply_to_status_id_str:
in_reply_to_user_id: 2975699229
in_reply_to_user_id_str: '2975699229'
in_reply_to_screen_name: ScruffyMcG
user: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
id: 1205290247124217856
id_str: '1205290247124217856'
name: pennbrooke
screen_name: pennbrooke1
location: London
url: https://t.co/Y9Umsm0AJJ
description: More like penn-broke, amirite?
translator_type: none
protected: false
verified: false
followers_count: 0
friends_count: 1
listed_count: 0
favourites_count: 0
statuses_count: 5
created_at: Fri Dec 13 00:56:10 +0000 2019
utc_offset:
time_zone:
geo_enabled: false
lang:
contributors_enabled: false
is_translator: false
profile_background_color: F5F8FA
profile_background_image_url: ''
profile_background_image_url_https: ''
profile_background_tile: false
profile_link_color: 1DA1F2
profile_sidebar_border_color: C0DEED
profile_sidebar_fill_color: DDEEF6
profile_text_color: '333333'
profile_use_background_image: true
profile_image_url: http://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png
profile_image_url_https: https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png
default_profile: true
default_profile_image: false
following:
follow_request_sent:
notifications:
geo:
coordinates:
place:
contributors:
is_quote_status: false
extended_tweet: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
full_text: |-
@ScruffyMcG
This is a test of Zammad's handling of extended tweets. When Twitter sends tweet data (as JSON) to webhook endpoints, tweets exceeding 140 characters are truncated (for backwards compatibility). The full tweet body is passed in an "extended_tweet" property.
display_text_range:
- 0
- 270
entities: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
hashtags: []
urls: []
user_mentions:
- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
screen_name: ScruffyMcG
name: Ryan Lue
id: 2975699229
id_str: '2975699229'
indices:
- 0
- 11
symbols: []
quote_count: 0
reply_count: 0
retweet_count: 0
favorite_count: 0
entities: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
hashtags: []
urls:
- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
url: https://t.co/cXMQkk9sQb
expanded_url: https://twitter.com/i/web/status/1209097192914313216
display_url: twitter.com/i/web/status/1…
indices:
- 117
- 140
user_mentions:
- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
screen_name: ScruffyMcG
name: Ryan Lue
id: 2975699229
id_str: '2975699229'
indices:
- 0
- 11
symbols: []
favorited: false
retweeted: false
filter_level: low
lang: en
timestamp_ms: '1577106209387'
controller: channels_twitter
action: webhook_incoming