Skip to content

End to End Example Tutorial

Michael Petychakis edited this page May 12, 2015 · 13 revisions

OPENi Framework Example Tutorial

Admin Panel

The easiest way to integrate new CBS for a developer is through the administration panel. Currently it is shared amongst all developers,but it will be customised per user login. Admin Panel for handling CBS First one visits the socialapp tab, chooses to create a new application and then:

Registering a new Application

  1. Chooses the provider from the drop down list.
  2. Creates a name for his application.
  3. He fills the client id field with the App ID, or consumer key.
  4. He then fills the secret key field with the API secret, client secret, or consumer secret.
  5. He selects the domain/site/url that the application is going to be hosted at.
  6. He saves the application.

Registering a new User

  1. Chooses the provider from the drop down list.
  2. Chooses or creates a new user for the platform
  3. Adds the id of the user for the specific platform.

Registering a new Social Token for a User

  1. Chooses the CBS registered application from the drop down list.
  2. Chooses the specific user social account from the drop down list.
  3. He fills the social account field with the “oauth_token” (OAuth1) or access token (OAuth2).
  4. He then fills the token secret field with the “oauth_token_secret” (OAuth1) or refresh token (OAuth2).
  5. He finally can choose to add an expiration date.

Swagger Interface for Interacting with CBS and Objects

Here is the Swagger Testing Interface for API Platform which can be used to actually interact with the various CBS and the cloudlet in unified calls. All Object calls have an Authorization field as shown in the screenshot. Swagger Interface for Interacting with an Object

Clone this wiki locally