Trying to validate App cards for our website, we’re running into the following error on the validator tool:
ERROR: Required meta tag missing (twitter:app:swift:name)
urls we are trying to validate:
the 2nd format is dynamic, the last part being an ID which will hopefully deeplink to our app. As far as I can tell, we have all required meta tags. Looking at the JSON response from the validator give a bit more insight, but none of the warnings conform to the spec in the docs. Any help would be much apppreciated…
{
"isInternalError": false,
"whitelistInfo": null,
"card": {
"name": "app",
"url": "https://www.happiour.com",
"card_type_url": "https://abs.twimg.com/cards/Swift/8/0c1430b8-51b6-4ae6-b071-cd704dedece6/4B3C34987412EA6B4F04F564328225B0.json",
"binding_values": [
{
"type": 1,
"key": "card_url",
"is_optional": 1,
"string_value": "https://www.happiour.com",
"scribe_key": "card_url"
},
{
"type": 1,
"key": "description",
"is_optional": 0,
"string_value": "Happiour turns regular moments into better ones. From coffee to cocktails, discover local offers & events, share & invite friends to join you, all in real time"
},
{
"type": 6,
"key": "googleplay_icon",
"is_optional": 0,
"image_value": {
"url": "https://pbs.twimg.com/media/c3ed5000032863fecf0645956ff4e39b.png",
"width": 15,
"height": 16
}
},
{
"type": 5,
"key": "site",
"is_optional": 1,
"user_value": {
"user_id": 2469130764,
"path": []
},
"scribe_key": "publisher_id"
}
],
"card_platform": {
"device": {
"name": "Swift",
"version": "8"
},
"audience": {
"name": "production"
}
}
},
"cardName": "App",
"errors": {
"Card error": "Not whitelisted",
"twitter:app:swift:name": "Required meta tag missing"
},
"warnings": {
"twitter:app:swift:currentversionaveragerating": "Required meta tag missing",
"twitter:app:swift:currentversionratingcount": "Required meta tag missing",
"thumbnail": "Required field missing",
"twitter:app:swift:localizedprice": "Required meta tag missing",
"twitter:app:swift:identifier": "Required meta tag missing"
},
"fcErrors": {},
"fcWarnings": {},
"status": "Excluded",
"urlResolutionStatus": "Ok",
"metaTags": {
"og:url": "http://www.happiour.com/",
"apple-itunes-app": "app-id=910867673, app-argument=happiour://",
"twitter:app:id:iphone": "910867673",
"og:description": "Happiour turns regular moments into better ones. From coffee to cocktails, discover local offers & events, share & invite friends to join you, all in real time",
"og:image": "http://www.happiour.com/img/icons/customers/share.png",
"twitter:url": "https://www.happiour.com",
"viewport": "width=device-width, initial-scale=1, user-scalable=no",
"description": "Happiour turns regular moments into better ones. From coffee to cocktails, discover local offers & events, share & invite friends to join you, all in real time",
"fragment": "!",
"twitter:app:country": "UK",
"al:iphone:app_name": "Happiour",
"twitter:site": "@happiour",
"og:type": "website",
"thumbnail": "http://www.happiour.com/img/icons/customers/share.png",
"twitter:card": "App",
"twitter:site:domain": "www.happiour.com",
"og:title": "Happiour - Right thing, Right time",
"al:iphone:url": "happiour://",
"twitter:app:name:iphone": "Happiour",
"fb:app_id": "1379471935668239",
"twitter:description": "Happiour turns regular moments into better ones. From coffee to cocktails, discover local offers & events, share & invite friends to join you, all in real time",
"twitter:app:url:iphone": "happiour://"
},
"hasStagingCard": false
}