123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- {
- "headers" : {
- "x-twitter-webhooks-signature" : "sha256=wYiCk7gfAgrnerCpj3XD58hozfVDjcQvcYPZCFH+stU="
- },
- "params": {
- "for_user_id": "123",
- "direct_message_events": [
- {
- "type": "message_create",
- "id": "1063077238797725700",
- "created_timestamp": "1542292339406",
- "message_create": {
- "target": {
- "recipient_id": "123"
- },
- "sender_id": "456",
- "message_data": {
- "text": "Hello Zammad #zammad @znuny\n\nYeah! https://t.co/UfaCwi9cUb",
- "entities": {
- "hashtags": [
- {
- "text": "zammad",
- "indices": [13,20]
- }
- ],
- "symbols": [],
- "user_mentions": [
- {
- "screen_name": "znuny",
- "name": "Znuny / ES for OTRS",
- "id": 789,
- "id_str": "789",
- "indices": [21, 27]
- }
- ],
- "urls": [
- {
- "url": "https://t.co/UfaCwi9cUb",
- "expanded_url": "https://twitter.com/messages/media/1063077238797725700",
- "display_url": "pic.twitter.com/UfaCwi9cUb",
- "indices": [35, 58]
- }
- ]
- },
- "attachment": {
- "type": "media",
- "media": {
- "id": 1063077198536556545,
- "id_str": "1063077198536556545",
- "indices": [35, 58],
- "media_url": "https://ton.twitter.com/1.1/ton/data/dm/1063077238797725700/1063077198536556545/9FZgsMdV.jpg",
- "media_url_https": "https://ton.twitter.com/1.1/ton/data/dm/1063077238797725700/1063077198536556545/9FZgsMdV.jpg",
- "url": "https://t.co/UfaCwi9cUb",
- "display_url": "pic.twitter.com/UfaCwi9cUb",
- "expanded_url": "https://twitter.com/messages/media/1063077238797725700",
- "type": "photo",
- "sizes": {
- "thumb": {
- "w": 150,
- "h": 150,
- "resize": "crop"
- },
- "medium": {
- "w": 1200,
- "h": 313,
- "resize": "fit"
- },
- "small": {
- "w": 680,
- "h": 177,
- "resize": "fit"
- },
- "large": {
- "w": 1472,
- "h": 384,
- "resize": "fit"
- }
- }
- }
- }
- }
- }
- }
- ],
- "users": {
- "456": {
- "id": "456",
- "created_timestamp": "1290730789000",
- "name": "Martin Edenhofer",
- "screen_name": "medenhofer",
- "description": "Open Source professional and geek. Also known as #OTRS and #Zammad inventor. ;)\r\nEntrepreneur and Advisor for open source people in need.",
- "url": "https://t.co/whm4HTWdMw",
- "protected": false,
- "verified": false,
- "followers_count": 312,
- "friends_count": 314,
- "statuses_count": 222,
- "profile_image_url": "http://pbs.twimg.com/profile_images/794220000450150401/D-eFg44R_normal.jpg",
- "profile_image_url_https": "https://pbs.twimg.com/profile_images/794220000450150401/D-eFg44R_normal.jpg"
- },
- "123": {
- "id": "123",
- "created_timestamp": "1476091912921",
- "name": "Zammad HQ",
- "screen_name": "zammadhq",
- "description": "Helpdesk and Customer Support made easy. Open Source for download or to go with SaaS. #zammad",
- "url": "https://t.co/XITyrXmhTP",
- "protected": false,
- "verified": false,
- "followers_count": 427,
- "friends_count": 512,
- "statuses_count": 437,
- "profile_image_url": "http://pbs.twimg.com/profile_images/785412960797745152/wxdIvejo_normal.jpg",
- "profile_image_url_https": "https://pbs.twimg.com/profile_images/785412960797745152/wxdIvejo_normal.jpg"
- }
- }
- }
- }
|