Get your web application connected to social.plus in just a few steps. This guide covers everything from installation to your first authenticated session.

Requirements

Browser Support

  • Chrome 38+
  • Firefox 42+
  • Safari 9+
  • Microsoft Edge 13+
  • Opera 25+
Internet Explorer 11 is not supported. The SDK requires modern browser features.

Framework Compatibility

React Applications

  • Create React App
  • Next.js (client-side)
  • Vite React
  • Custom React setups

Vue Applications

  • Vue 3 composition API
  • Vue 2 options API
  • Nuxt.js (client-side)
  • Vite Vue

Angular Applications

  • Angular 12+
  • Angular CLI projects
  • Nx workspaces
  • Custom Angular setups

Other Frameworks

  • React Native
  • Svelte/SvelteKit
  • Solid.js
  • Lit Framework

Installation

npm install @amityco/ts-sdk --save

Web Development Best Practices

Performance Optimization

  • Bundle Splitting: Load SDK components on-demand
  • Connection Pooling: Reuse WebSocket connections efficiently
  • Caching Strategy: Implement smart caching for API responses
  • Lazy Loading: Load features as users need them

User Experience

  • Loading States: Show progress during data fetching
  • Error Boundaries: Graceful error handling and recovery
  • Offline Support: Cache critical data for offline access
  • Responsive Design: Optimize for all device types

Security Considerations

  • Environment Variables: Store API keys securely
  • HTTPS Only: Ensure secure communication
  • Content Security Policy: Implement CSP headers
  • Input Validation: Sanitize user inputs properly

Next Steps

Troubleshooting