18
Oct
in
Comments
The “Twitter” feature is often displayed in SERP if the subject of the search query is associated with the relevant Twitter account and/or if the Twitter posts can provide additional information on the subject.
In DataForSEO SERP API responses, the “Twitter” feature consists of structured elements – “twitter_element.”
Tweet | tweet
Element in SERP API
{
"type":"twitter",
"rank_group": 1,
"rank_absolute": 4,
"position":"left",
"xpath": "/html[1]/body[1]/div[7]/div[3]/div[10]/div[1]/div[2]/div[1]/div[2]/div[2]/div[1]/div[1]/div[4]/div[1]/div[1]/g-section-with-header[1]",
"title": null,
"url": null,
"items":[
{
"type":"twitter_element",
"tweet": "These children are demanding their rights. What will you do? pic.twitter.com/t5GvZ3O…",
"date":" · ",
"url":"https://twitter.com/UNICEF/status/1204362624164515840"
},
{
"type":"twitter_element",
"tweet":"DYK, UNICEF was awarded the Nobel Peace Prize in 1965. \n\nHere's the inside story, involving telegrams and Danny Kaye's Lear jet. #NobelPrize uni.cf/1OiExvH",
"date":" · ",
"url":"https://twitter.com/UNICEF/status/1204327407831977984"
},
{
"type":"twitter_element",
"tweet": "The right to survive.\nThe right to family.\nThe right to health.\nThe right to education.\nThe right to safety.\nThe right to play.\nThe right to culture.\n\nClimate change is a serious threat to children’s rights. We must take #ClimateAction now. #COP25 #HumanRightsDay pic.twitter.com/myahLBs…",
"date":" · ",
"url":"https://twitter.com/UNICEF/status/1204264477312479232"
},
{
"type":"twitter_element",
"tweet": "Here's what you need to know about consent. \n\n@UN_Women #GenerationEquality uni.cf/2sc5Ztf",
"date":" · ",
"url": "https://twitter.com/UNICEF/status/1204205355229691904"
},
{
"type":"twitter_element",
"tweet": "Seven key commitments for world leaders to protect children’s rights while taking #ClimateAction. \n\n#COP25 \n\nuni.cf/2PjLxi5",
"date":" · ",
"url":"https://twitter.com/UNICEF/status/1204124845203701762"
}
]
}