Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitsharma authored Oct 30, 2020
1 parent cfa58d3 commit 72f1b21
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ import Embedo from '/path/to/vendor';
const embedo = new Embedo({
facebook: {
appId: 'my_app_id', // Enable facebook SDK
version: 'v2.10'
version: 'v8.0',
access_token: 'app_id_with_client_token_here'
},
twitter: true, // Enable twitter SDK
instagram: true, // Enable instagram SDK
instagram: { access_token: 'app_id_with_client_token_here' } // Enable instagram SDK
pinterest: true // Enable pinterest SDK,
googlemaps: {
key: 'my_api_key' // Enables google maps API
Expand Down Expand Up @@ -99,11 +100,14 @@ Also, an example can be [found here](https://codepen.io/shobhitsharma/pen/yojJZp
<script>
new Embedo({
facebook: {
appId: 'my_app_id', // Enable facebook SDK
version: 'v2.10'
appId: 'my_app_id_here', // Enable facebook SDK
access_token: 'app_id_with_client_token_here', // Client-side token via Graph API
version: 'v8.10'
},
twitter: true, // Enable twitter SDK
instagram: true, // Enable instagram SDK
instagram: {
access_token: 'app_id_with_client_token_here', // Client-side token via Graph API
}, // Enable instagram SDK
pinterest: true // Enable pinterest SDK,
googlemaps: {
key: 'my_api_key' // Enables google maps API
Expand Down

0 comments on commit 72f1b21

Please sign in to comment.