Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

How to Create and Send vCards with Go

Blog post from Twilio

Post Details
Company
Date Published
Author
Matthew Setter, Andrew MacLean
Word Count
1,731
Company Posts That Month
20
Language
English
Hacker News Points
-
Post removed?
No
Summary

vCards are standardized virtual contact files that provide a more structured way to share information such as names, phone numbers, email addresses, postal addresses, URLs, and photos than copying details between messaging applications. The tutorial demonstrates how to build a Go application that generates a vCard 4.0 file using the go-vcard library, with contact fields including an address, formatted and structured name, website, telephone number, and email address. It then explains how to configure Twilio credentials, sender and recipient phone numbers, and a public asset URL through environment variables, upload the generated VCF file to Twilio Assets for public access, and use Twilio’s Go SDK and Programmable Messaging API to send an SMS containing the vCard as media. Once received, the recipient can open the link in their phone’s contact application and save or view the supplied contact details.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.