Skip to content

social

A social media profile linked to a model. The model.social object is keyed by service name (e.g. model.social.instagram, model.social.tiktok).

ACCESS

Returned as child in:

model.social model.social

Example

json
{
  "id": 1,
  "model_id": 1,
  "model_social_type_id": 1,
  "auth": null,
  "access_token": null,
  "access_token_expires": null,
  "refresh_token": null,
  "profile_id": null,
  "profile_name": "syngency",
  "profile_image": null,
  "followers": 2105,
  "posts": null,
  "is_valid": null,
  "is_connected": null,
  "created_at": "2025-01-31 12:00:00",
  "updated_at": "2025-01-31 12:00:00",
  "service": "instagram",
  "profile_url": "https://www.instagram.com/syngency",
  "followers_rounded": "2.1 K",
  "profile_url_template": "https://www.instagram.com/%s",
  "url": "https://www.instagram.com/syngency"
}

Properties

id integer
model_id integer
model_social_type_id integer
auth string
access_token string
access_token_expires datetime
refresh_token string
profile_id string
profile_name string
profile_image string

Format: absolute-url

followers integer
posts integer
is_valid boolean
is_connected boolean
created_at datetime
updated_at datetime
service string
profile_url string

Format: absolute-url

followers_rounded string

Abbreviated follower count, e.g. 2.1 K or 1 M. Null if no followers.

profile_url_template string

URL template with %s placeholder for the profile name.

url string

Format: absolute-url