4️Methods & Options
You can customize the plugin by passing configurations
1. Set Values
To set configuration through javascript, use set
method.
2. Show plugin
To show plugin through custom javascript code, use show
method.
3. Hide plugin
To hide plugin
4. Inline plugin
To show the plugin on the page inline (not in a modal window), use a div that should have a class socialinviter
and use set
method.
5. Add Stage/Dev URL for your testing
To add a secondary authentication URL without removing the primary authentication URL, use authUrl
. This will be helpful when you are locally doing debugging or testing the product in stage/testing servers.
6. Open service
To open the import service for a particular service, use auth
method.
7. Go to a screen
To go a specific screen
8. Show loading
To show loading, pass the text
9. Hide loading
To hide loading
10. Get profile
To get logged in user profile
11. Get active service
To get the currently selected service
12. Get all contacts
To get all imported contacts
13. Get all selected contacts
To get all selected contacts
To get all selected contacts and the manually entered contacts
Last updated