2%

di Sconto se paghi con

Bonifico Bancario

Rivenditore Autorizzato

Silhouetthe America®

Come creare API keys per Facebook, Instagram, Flickr e Soundcloud

In questo articolo Vedremo come creare le chiavi API per tutte le tue esigenze.

Instagram

1. You will need an Instagram account
2. Login to https://www.instagram.com/developer/
3. Click on “Manage Clients“:

4. Click on 
5. Fill out the fields, for the “Application Name” enter the name of your company or your apps builder, and for the “Description” just tell that this Instagram app allows the users to integrate Instagram photo galleries in their mobile applications. In the “Website URL” and “Valid redirect URIs” fields, enter the url of your Siberian.
6. Now you have a Client ID.
7. Click on “Manage” to enter in your Instagram app, then click on the “Security” tab, uncheck “Disable implicit OAuth:” and click on “Update Client“:


8. In thisURL: https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=tokenreplace “CLIENT-ID” and “REDIRECT-URI” with your own info, and then paste the url in your browser.
9. Authorize the API request
10. You obtain the token (it’s in the URL after “access_token=”)
11. Before using Instagram in your Siberian, you need to add at least a picture in your Instragram account.
12. Paste your CLIENT-ID and your ACCESS TOKEN in your Editor, in Settings > APIs > Instagram:

Facebook

1. You will need a Facebook user account

2. Go to https://developers.facebook.com/

3. Click on 

4. Register and Verify your account

5. Enter a name for your Facebook app (you may choose a name that refers to your platform, like “Apps Maker Company”). This name will be displayed to the app users when they would want to create an account in the mobile app through Facebook connect.

6. On the page “Select a Scenario“, select “Integrate Facebook Login

7. Go to Settings > Basic in the left menu.

Here are the App ID and the Secret you will use in Siberian. There are two ways to use the Facebook API key in Siberian:

  • In the Backoffice > Setting > APIs
    This one will be used in all your Apps. The advantage is that you won’t have to create an API key per app. The disadvantage is in the case of the use of the Facebook login in the app: the users will see the name of the Facebook app that you use for your entire Siberian. So, especially for Platform Edition owners, that means the clients of your potential resellers will see the name of your Facebook page. Our advice is to choose a generic name so that you won’t be annoyed by your resellers.
  • In the app Editor > Settings > APIs
    This one will be specific to the app. The advantage is that you can choose a name for your Facebook app that matches the name of your app, with the same icon. This way, when an app user uses the Facebook login, Facebook will display an app asking for users consent that has the same name as the app. The disadvantage is that you have to create an API key per app.

Note that you can add a specific Facebook API key for an app even if you have a Facebook API key in your backoffice, the one you have set for one app in the editor will take over the one from your backoffice.
Depending on your choice, copy and paste your “App ID” and “App secret”  in your Siberian Backoffice in Settings > APIs or in your Editor in Settings > APIs.

8. In the case you create a Facebook key for one app, in your Siberian Editor, go to Settings > APIs and copy the Callback URLs (if you create a Facebook key for your backoffice, you don’t have to bother with this URIs. So, go to step 9)  :

9. From the Facebook settings left menu, click on “Facebook Login” > “Settings” and paste the Urls  then click on “Save changes” (in the case of a key for your backoffice, just enter https://localhost/callback):

  • https://localhost/callback is used on phone and tablets. So the API key from backoffice > settings > API will work for all your apps on a phone or a tablet.
  • https://your.domain.com/592ed1d162310?login_fb=true is specific to the html5 website of your app.
    So, if you want to have the Facebook login in your apps’ html5 website, you will have to create a new Facebook API and add it to the editor API settings.

10. Go back to Settings > Basic menu. In the App Domains field, left it blank.  For Category, select “Utility & Productivity“.

11. Add a Privacy Policy URL. 

12. Click on “+Add Platform” and choose “Website“:


13. In the Site URL field enter the address of your platform (aka your Siberian) and this time with “http://”, and “www.” if your platform is on your main domain. If it’s on a subdomain, enter your subdomain like http://apps.mydomain.com. Enter also the URL to your domain name, and http://*.yourdomain.com (if your Siberian is at siberian.domain.com enter http://*.domain.com”. Then save.
(We recommend you to set both “http” and “https” address, and so 6 entries)

Screen Shot 2016-03-22 at 21.55.25

Example for http://app.siberiancms.com:  http://app.siberiancms.com, http://siberiancms.com, http://*.siberiancms.com, https://app.siberiancms.com, https://siberiancms.com, https://*.siberiancms.com,

14. You can also add an app icon for your app. It’s not mandatory but your Facebook app will be more professional with an icon when the user will be invited to connect with his Facebook account. Click on “Save Changes“.

15. From the top menu, click on 

16.  Click on Confirm.

17. You’re done!

Soundcloud

Sfortunatamente, Soundcloud non fornisce più nuove chiavi API. Aggiorneremo la documentazione quando il loro sistema API sarà corretto.

Flickr

Go to https://www.flickr.com/services/apps/create (you must have a Yahoo account).

 

Click on Request an API KEY.

Click on Apply for a non-commercial key.

Then enter the name of your app and a description and click on Submit.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Spotcloud per offrirti una migliore esperienza su questo sito utilizza cookie tecnici, analitici e di profilazione propri e di terze parti. Il sito utilizza anche cookie di tracking di terze parti per adeguare la pubblicità alle tue preferenze.
Se vuoi saperne di più o negare il consenso all'uso dei cookie clicca qui. Continuando nella navigazione acconsenti all'uso dei cookie.
Privacy Settings saved!
Impostazioni Coockies

Quando visiti un sito Web, esso può archiviare o recuperare informazioni sul tuo browser, principalmente sotto forma di cookies. Controlla qui i tuoi servizi di cookie personali.

Questi cookie sono necessari per il funzionamento del sito Web e non possono essere disattivati nei nostri sistemi.

Usiamo WooCommerce come sistema di acquisto. Per il carrello e l'elaborazione degli ordini verranno memorizzati 2 cookie. Questi cookie sono strettamente necessari e non possono essere disattivati.
  • woocommerce_cart_hash
  • woocommerce_items_in_cart

In order to use this website we use the following technically required cookies
  • wordpress_logged_in_
  • wordpress_sec
  • wordpress_test_cookie
  • yuyujytujk
  • tyuikrtyk
  • ytuiktyuiktyuik

Rifiuta tutti i Servizi
Accetta tutti i Servizi