Open heysanil opened 6 years ago
Pretty-printed attachment:
{
"extensible_attachment": {
"legacy_attachment_id": "502977120101126",
"story_attachment": {
"description": {
"text": "7/11, a song by Beyoncé on Spotify"
},
"media": {
"animated_image": null,
"image": {
"uri": "https://external-ort2-1.xx.fbcdn.net/safe_image.php?d=AQDTuJJ4oiWmF_eN&w=960&h=960&url=https%3A%2F%2Fi.scdn.co%2Fimage%2F98be8968e1c29e6ef80831c5867733d2e687b508&_nc_hash=AQAY0sWVDsanbJBC",
"height": 640,
"width": 640
},
"playable_duration_in_ms": 0,
"is_playable": false,
"playable_url": null
},
"source": {
"text": "open.spotify.com"
},
"style_list": [
"share",
"fallback"
],
"title_with_entities": {
"text": "7/11"
},
"properties": [
{
"key": "width",
"value": {
"text": "640"
}
},
{
"key": "height",
"value": {
"text": "640"
}
}
],
"url": "https://l.facebook.com/l.php?u=https%3A%2F%2Fopen.spotify.com%2Ftrack%2F02M6vucOvmRfMxTXDUwRXu&h=ATMA6jiqtVRDelLYyrqy3trYQkMgLNOQm2q4KEqXywYNoPNajx46mBpqa07J3D0oTErP0wNOyXmbx8J9Dn2UXV01yD-Y0hn5Jf_no3a5dQpG4VXSsu-ar3zgC2tO&s=1&enc=AZNPxsoZmrVbWnSsH9KHX-Suq8cBq_Cw1vD56MRF4hgvuIq-m4rKD4x5Yekgs0YYG628IoJvYhSSmDiAfYr-lnQY6-A32tOICZvzxk86NB7yzQ",
"deduplication_key": "eaf0d2f143aaef124963f812bc85cce9",
"action_links": [],
"messaging_attribution": null,
"messenger_call_to_actions": [],
"target": {
"__typename": "ExternalUrl"
},
"subattachments": []
}
}
}
The actual link/preview sent:
Adding a Spotify link to the
url
field of a message breaks things — results in a message sent with a link preview that doesn't work (clicking it will either do nothing or send you to Facebook.com).