• 【440】Tweet 元素意义


    参考:Tweet Object

    参考:Geo Objects

    参考:User Object

    Ref: Place data dictionary

    Tweet Object

    Attribute Type Description
    created_at String UTC time
    id Int64 unique identifier
    id_str String unique identifier
    text String actual UTF-8 text
    source String Tweet's source value,e.g. web or phone
    truncated Boolean whether the text was truncated or not
    in_reply_to_status_id Int64 None: not a reply
    or the original Tweet's ID
    in_reply_to_status_id_str String string representation
    in_reply_to_user_id Int64 None: not a reply
    or the original Tweet's author ID
    in_reply_to_user_id_str String string representation
    in_reply_to_screen_name  String None: not a reply
    or the screen name of the original Tweet's author
    user User object The user who posted this Tweet.
    coordinates

    Array of
    Array of
    Array of
    Float

    A series of longitude and latitude points, defining a box which will
    contain the Place entity this bounding box is related to.
    [longitude, latitude]
    four pairs of points
    type String The type of data encoded in the coordinates property.
    This will be "Polygon" for bounding boxes and "Points" for Tweets
    with extra coordinates.
    lang  String  "lang": "en" 
    geo  Object  Deprecated attribute, Tweet geo is formatted as [lat, lon]. 
    place  Places   
         
         

    User Object

    Attribute Type Description
    id Int64 The integer representation of the unique identifier for this User.
    id_str String string representation
    name String The name of the user.
    screen_name String screen_names are unique but subject to change.
    location String The user-defined location for this account's profile. Not necessarily a location, nor machine-parseable.
    geo_enabled Boolean whether this user enable geo or not
         
         
         

    Place data dictionary

    Attribute Type Description
    place_type String The type of location represented by this place.
    "place_type": "city"
    name String Short human-readable representation of the place's name.
    "name": "Manhattan"
    full_name String Short human-readable representation of the place's name.
    "full_name": "Manhattan, NY"
    country_code String Shortened country code representing the country containing this place.
    "country_code": "US"
    country String Name of the country containing this place.
    "country": "United States"
    bounding_box Object A bounding box of coordinates which encloses this place.
    {
      "bounding_box": {
        "coordinates": [
          [
            [
              -74.026675,
              40.683935
            ],
            [
              -74.026675,
              40.877483
            ],
            [
              -73.910408,
              40.877483
            ],
            [
              -73.910408,
              40.3935
            ]
          ]
        ],
        "type": "Polygon"
      }
    }
         
         
         

    Spatio-Temporal realated attributes:

    • created_at
    • coordinates
    • geo
    • user
      • location
      • created_at
      • geo_enabled (deprecated)
    • place
      • name
      • full_name
      • place_type
      • country_code
      • country
      • bounding_box
  • 相关阅读:
    jQuery实现图片延迟加载
    小猪学设计模式之—装饰者模式
    设计原则—依赖倒转原则
    ASP.NET MVC 在子页中引用头文件
    关于博客
    关于借钱
    面向对象编程(OOP)基础之UML基础
    C#抽象类、抽象方法、抽象属性
    小猪学设计模式——门面模式(外观模式)
    Eclipse 快捷键
  • 原文地址:https://www.cnblogs.com/alex-bn-lee/p/11602886.html
Copyright © 2020-2023  润新知