Anda di halaman 1dari 17

Zing OpenPlatform APIs

Nguyn Minh T Zing Platform Dept.

Ni dung

1
2

Overview SocialAPI (OAuth-2.0 + GraphAPIs)

3 4 5

ZingCredits Payment APIs

ZingMe Social Plugins

Tips : when building app/game on ZingMe


Case study

Overview

Zing OpenPlatform APIs help your app/game :


Authorize ZingMe users Access to ZingMe users resouces

Gain money with ZingCredits payment platform


Integrate your app/game into ZingMe platform Reach to ZingMe users easily

Provider
GraphAPIs

Authorize

Grant Permissions

Consumer

User/Owner Resource

ZingMe SocialAPI

Authentication :
Comply with OAuth-2.0 flow Support in-canvas and out-canvas context

GraphAPI (users graph)


Profile
Friends Feeds

Fans Next : photo, stats of feed, game notify,.

ZingMe SocialAPI (contd)

SDK language support :


PHP Java

C++ C#
Android (new) iOS (new)

Fully document

ZingMe SocialAPI (contd)

Flow to integrate app/game on ZingMe


Register app/game for sandbox/dev env Register app/game for live/production env

Which info to register app/game

1. appname (only letters a-z,0-9,'_','-' and not include special characters such as *,&,^....) 2. title of app (will be displayed on caption of browser) 3. callbackurl of your app 4. programming language of game in back-end so we can deliver the client library. 5. game short description or user guide of game (if any)

ZingCredits Payment APIs

ZingMe user had pay-letter


Input : Zing card, SMS, Internet banking
Payment method :
Easily

Security
User confirmation flow

APIs for app/game :


ZingCredits endcode/decode library
Check balance / Request billing Implement updateResult callback

ZingCredits Payment APIs (contd)

ZingCredits users flow


2. GET pay-credits-me.zing.vn/billing...

Client Browser

1. Build billing URL Zing Credits

App/Game Server

3. Update Result (Commit transaction)

ZingCredits Payment APIs (contd)

ZingCredits APIs language support


PHP (linux centos-64bit) JAVA

C# C++

ZingCredits Payment APIs (contd)

ZingCredits APIs : app/game info to register on sandbox/live env


1. 2. 3. 4. Title of App/Game : will be shown on UI, the length of title less than 256 characters. Description of app/game : the length less than 1024 characters. App URL of ZingMe UpdateResultURL : the url which ZingCredits call request UpdateResult (commit transaction) after process payment confirmation from user. 5. Icon of app 64x64 pixels

ZingMe Social Plugins

Login widget plugins Fanbox widget plugins


ZingLive Topic box ZingLive News box

Tips : when building app/game on ZingMe

4 key notes when building app/game


User like webgame/hardcode game but also like minigame, specific apps (like app sach, sharefile), e-commerce (like app nhommua), utility (like app ecard)

Build your app ASAP


Users ready pay money on mobile env Performance is very important

Tips : when building app/game on ZingMe

Session managements
Caching data performance (profile, friends) to improve

Refresh caching data by user manually Design app/game can be upgraded/scalable

Case Study

Games : chanlong + happycity

Case Study

Apps : sach + nhommua

Case Study

Marketing + fanpage :mof + hulashops

Q&A

Nguyn Minh T tunm@vng.com.vn http://me.zing.vn/fortinet

Anda mungkin juga menyukai