Felo API PlatformFelo API Platform
Tous les endpoints X
v0.2.0-beta
OpenAPI 3.1.0

Obtenir les mentions d'un utilisateur

Serveur:https://openapi.felo.ai
Bibliothèques clientes

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Opérations

Obtenir les mentions d'un utilisateur

​

Récupère les mentions publiques via userName. Ce contrat ne déclare ni entrée de fenêtre temporelle ni entrée de curseur de pagination.

Référence tarifaire

  • Mesure : nombre de résultats mesurés.
  • Estimation de référence par requête : USD 0.003.
  • Base de coût minimale : USD 0.00015.
  • Multiplicateur client de référence : 1.0. Ne pas l'appliquer à nouveau à un montant client déjà réglé.
  • Les bases de coût ne déterminent pas le prix client final, y compris lorsqu'elles valent zéro.

Métadonnées de référence uniquement, et non un devis de compte, un prix garanti ou un plafond de dépenses. Les crédits de ressources ne sont pas des crédits Felo. Les débits définitifs suivent les enregistrements de facturation Felo.

Paramètres de requête
  • userName
    Type: string
Réponses
  • 200
    Type: object · Response078307E096De_UserMentionsResponse

    Réponse réussie

    • code
      Type: integer

      Integer numbers.

    • has_next_page
      Type: boolean
    • msg
      Type: string
    • next_cursor
      Type: string
    • status
      Type: string enum
      valeurs
      • success
      • error
    • tweets
      Type: array object[] · Response078307E096De_Tweet[]
      • author
        Type: object · Response078307E096De_User
        • automatedBy
          Type: string
        • canDm
          Type: boolean
        • coverPicture
          Type: string
        • createdAt
          Type: string
        • description
          Type: string
        • favouritesCount
          Type: integer

          Integer numbers.

        • followers
          Type: integer

          Integer numbers.

        • following
          Type: integer

          Integer numbers.

        • hasCustomTimelines
          Type: boolean
        • id
          Type: string
        • isAutomated
          Type: boolean
        • isBlueVerified
          Type: boolean
        • isTranslator
          Type: boolean
        • location
          Type: string
        • mediaCount
          Type: integer

          Integer numbers.

        • message
          Type: string
        • name
          Type: string
        • pinnedTweetIds
          Type: array string[]
        • possiblySensitive
          Type: boolean
        • profilePicture
          Type: string
        • statusesCount
          Type: integer

          Integer numbers.

        • type
          Type: string
        • unavailable
          Type: boolean
        • unavailableReason
          Type: string
        • url
          Type: string
        • userName
          Type: string
        • verifiedType
          Type: string
        • withheldInCountries
          Type: array string[]
      • bookmarkCount
        Type: integer

        Integer numbers.

      • conversationId
        Type: string
      • createdAt
        Type: string
      • displayTextRange
        Type: array integer[]
      • entities
        Type: object
        • hashtags
          Type: array object[]
          • indices
            Type: array integer[]
          • text
            Type: string
        • urls
          Type: array object[]
          • display_url
            Type: string
          • expanded_url
            Type: string
          • indices
            Type: array integer[]
          • url
            Type: string
        • user_mentions
          Type: array object[]
          • id_str
            Type: string
          • name
            Type: string
          • screen_name
            Type: string
      • id
        Type: string
      • inReplyToId
        Type: string
      • inReplyToUserId
        Type: string
      • inReplyToUsername
        Type: string
      • isReply
        Type: boolean
      • lang
        Type: string
      • likeCount
        Type: integer

        Integer numbers.

      • quoteCount
        Type: integer

        Integer numbers.

      • replyCount
        Type: integer

        Integer numbers.

      • retweetCount
        Type: integer

        Integer numbers.

      • source
        Type: string
      • text
        Type: string
      • type
        Type: string
      • url
        Type: string
      • viewCount
        Type: integer

        Integer numbers.

    application/json
  • 400

    La requête n'a pas pu être traitée. Vérifiez les paramètres de la requête.

  • 401

    Une clé API Felo valide est requise.

  • 402

    La requête ne peut pas aboutir car une condition de facturation n'est pas remplie.

  • 403

    Le compte n'est pas autorisé à effectuer cette opération.

  • 429

    Une limite de requêtes ou de dépenses a été atteinte.

  • 502

    Le service n'a pas pu terminer la requête.

  • 503

    L'API ou le service de facturation est temporairement indisponible.

  • 504

    Le service a expiré lors du traitement de la requête.

  • default

    Réponse d'erreur ; les réponses transmises depuis l'upstream peuvent utiliser les formats du fournisseur

    application/json
Request Example for get/v1/beta/twitter/user/mentions
curl https://openapi.felo.ai/v1/beta/twitter/user/mentions \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "tweets": [
    {
      "type": "string",
      "id": "string",
      "url": "string",
      "text": "string",
      "source": "string",
      "retweetCount": 1,
      "replyCount": 1,
      "likeCount": 1,
      "quoteCount": 1,
      "viewCount": 1,
      "createdAt": "string",
      "lang": "string",
      "bookmarkCount": 1,
      "isReply": true,
      "inReplyToId": "string",
      "conversationId": "string",
      "displayTextRange": [
        1
      ],
      "inReplyToUserId": "string",
      "inReplyToUsername": "string",
      "author": {
        "type": "string",
        "userName": "string",
        "url": "string",
        "id": "string",
        "name": "string",
        "isBlueVerified": true,
        "verifiedType": "string",
        "profilePicture": "string",
        "coverPicture": "string",
        "description": "string",
        "location": "string",
        "followers": 1,
        "following": 1,
        "canDm": true,
        "createdAt": "string",
        "favouritesCount": 1,
        "hasCustomTimelines": true,
        "isTranslator": true,
        "mediaCount": 1,
        "statusesCount": 1,
        "withheldInCountries": [
          "string"
        ],
        "possiblySensitive": true,
        "pinnedTweetIds": [
          "string"
        ],
        "isAutomated": true,
        "automatedBy": "string",
        "unavailable": true,
        "message": "string",
        "unavailableReason": "string"
      },
      "entities": {
        "hashtags": [
          {
            "indices": [
              1
            ],
            "text": "string"
          }
        ],
        "urls": [
          {
            "display_url": "string",
            "expanded_url": "string",
            "indices": [
              1
            ],
            "url": "string"
          }
        ],
        "user_mentions": [
          {
            "id_str": "string",
            "name": "string",
            "screen_name": "string"
          }
        ]
      }
    }
  ],
  "has_next_page": true,
  "next_cursor": "string",
  "status": "success",
  "msg": "string",
  "code": 1
}
Get User Mentions