GET api/twitter/{accountGuid}?count={count}&height={height}&width={width}&userName={userName}&languageCode={languageCode}

Returns the TOP x tweets for account

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountGuid

GUID of Account

globally unique identifier

Required

count

Desired amount of returned tweets

integer

Default value is 10

height

Height of profileImage

integer

None.

width

Width of profileImage

integer

None.

userName

string

None.

languageCode

string

None.

Body Parameters

None.

Response Information

Resource Description

Twitter object with Messages

Twitter
NameDescriptionTypeAdditional information
Messages

Collection of Message

None.

Response Formats

application/json, text/json

Sample:
{
  "Messages": [
    {
      "DisplayName": "sample string 1",
      "UserName": "sample string 2",
      "Text": "sample string 3",
      "UserImagePath": "sample string 4",
      "Url": "sample string 5",
      "Date": "2019-11-23T00:35:07.062907+01:00",
      "LanguageCode": "sample string 6"
    },
    {
      "DisplayName": "sample string 1",
      "UserName": "sample string 2",
      "Text": "sample string 3",
      "UserImagePath": "sample string 4",
      "Url": "sample string 5",
      "Date": "2019-11-23T00:35:07.062907+01:00",
      "LanguageCode": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<Twitter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.Services.ViewModels.Shared.Models">
  <Messages>
    <Message>
      <Date>2019-11-23T00:35:07.062907+01:00</Date>
      <DisplayName>sample string 1</DisplayName>
      <LanguageCode>sample string 6</LanguageCode>
      <Text>sample string 3</Text>
      <Url>sample string 5</Url>
      <UserImagePath>sample string 4</UserImagePath>
      <UserName>sample string 2</UserName>
    </Message>
    <Message>
      <Date>2019-11-23T00:35:07.062907+01:00</Date>
      <DisplayName>sample string 1</DisplayName>
      <LanguageCode>sample string 6</LanguageCode>
      <Text>sample string 3</Text>
      <Url>sample string 5</Url>
      <UserImagePath>sample string 4</UserImagePath>
      <UserName>sample string 2</UserName>
    </Message>
  </Messages>
</Twitter>