Social Connect

Connect any number of Facebook Pages, Instagram, YouTube, LinkedIn, TikTok, X and Pinterest accounts or RSS feeds to power the Social Media Feed widget.

Free Elephanta → Social Connect 2 min read Updated
On this page

Social Connect stores the social accounts used by the Social Media Feed widget. Add as many accounts as you like, including several from the same network.

#Supported sources

Facebook Pages, Instagram Business/Creator accounts, YouTube channels, LinkedIn people or organizations, TikTok profiles, X accounts, Pinterest boards, and generic RSS/Atom feeds (no credentials needed).

Each connection has its own label, credentials, cache and status.

#Add an account

  1. Go to Elephanta → Social Connect and click Add account.
  2. Choose the network and enter a label, the account identifier and the API token or key from that network's developer console.
  3. Optionally add the public profile URL and an avatar.
  4. Save and make sure the account is enabled.

#LinkedIn (OAuth)

LinkedIn uses the OAuth 2.0 authorization-code flow:

  1. Create a LinkedIn developer application.
  2. Copy the exact Authorized redirect URL shown on the Social Connect screen into the LinkedIn app.
  3. Save the Client ID, Client Secret, author URN and approved scopes in Elephanta.
  4. Click Connect LinkedIn and approve.

Elephanta exchanges the code on the server, encrypts the token and fetches posts through LinkedIn's Posts API. Posts are stored in the wp_elephanta_social_posts table (with your table prefix) and refreshed hourly; click Sync posts now for an immediate refresh. Refresh tokens are used automatically; otherwise an expired account asks you to reconnect.

#Security

API credentials are used only in server-side requests and are never included in the page HTML. Access tokens and client secrets are encrypted at rest.

#Developers

Register more platforms with elephanta/social_connect/platforms and supply normalized posts through elephanta/social_connect/fetch_account. See Hooks & Filters.