getUserInfo
- Home
- Social Providers
- SvcTwitter
- getUserInfo
getUserInfo
Returns twitter account details for a particular user.
Parameters
Name | Description |
nodeID optional | The node ID for this domain. |
domain optional | Domain of ONEsite network to work with. |
userID required | ID of a ONEsite user. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcTwitter?action=getUserInfo&nodeID=188234&userID=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
{ "service":"svcTwitter", "action":"getUserInfo", "code":1, "message":"Found result", "item":{ "__className":"stdClass", "id":1092548317232459776, "id_str":"1092548317232459776", "name":"ONEsite Developer", "screen_name":"ONEsiteDevelop1", "location":"", "description":"", "entities":{ "__className":"stdClass", "description":{ "__className":"stdClass", "urls":[ ] } }, "protected":false, "followers_count":0, "friends_count":0, "listed_count":0, "created_at":"Mon Feb 04 22:19:52 +0000 2019", "favourites_count":0, "geo_enabled":false, "verified":false, "statuses_count":0, "lang":"en", "contributors_enabled":false, "is_translator":false, "is_translation_enabled":false, "profile_background_color":"F5F8FA", "profile_background_tile":false, "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", "profile_link_color":"1DA1F2", "profile_sidebar_border_color":"C0DEED", "profile_sidebar_fill_color":"DDEEF6", "profile_text_color":"333333", "profile_use_background_image":true, "has_extended_profile":false, "default_profile":true, "default_profile_image":true, "following":false, "follow_request_sent":false, "notifications":false, "translator_type":"none", "suspended":false, "needs_phone_verification":false } } |
Service Information
Service | svcTwitter |
Method | getUserInfo |
Type | REST |
Response Types | JSON, XML |