SlideShare a Scribd company logo
1 of 18
Download to read offline
LikeCoin SDK and API
sharing
William Chong
Agenda
- Introduction to our developer documentations
- Our current SDKs
- Cosmos
- LikeCoin button
- LIKE pay
- API
- Documentation and Postman
- Public API
- Authenticated API
Documentations
- User guide and developer resources
- https://docs.like.co/developer
- Our github
- https://github.com/likecoin/likecoin
- (Work in progress) g0v project hub
- https://chunyenhuang.github.io/awesome-g0v-projects/
#/project/LikeCoin%20%E8%AE%9A%E8%B3%9E%E
5%85%AC%E6%B0%91%E5%85%B1%E5%92%8C
%E5%9C%8B/dashboard
SDKs - Cosmo SDK/API
- LikeCoin chain is built on top of cosmos sdk
- Compatible to most cosmos sdk tools and documentations
- E.g. Tendermint / cosmos LCD restful API:
https://cosmos.network/rpc/v0.37.9
- Wallet / other cosmos tools might also work, if chain
parameters are set accordingly e.g. bigdipper
- @Chung will talk about it more in next week
LikeCoin button
- An website embedded in iframe, example
- Current two ways to integrate: iframe and js
- More sdk will be developed in the future: php, vue, react,
etc
LikeCoin button - iframe
- Most basic way to integrate LikeCoin button
- Iframe + Liker ID + referrer
(encodeURIComponent(${canonical URL}))
- Demo
- Reference
LikeCoin button - Javascript
- Simplest way to integrate LikeCoin button via a single
<script> include in html
- Demo
- Reference
LikeCoin button - Misc
We also support:
- Wordpress, 9.2k download, 1k+ active installations
- Embedly, supported on medium, etc
- https://button.like.co/{{LikerID}}
LikeCoin button - Usage
- Personal blog/site
- Medium article demo
- https://flagselling.net (WIP)
- ??? (your call)
LikePay
- Experimental sdks, still under development
- Currently support QR code and web widget, latter is not
released yet
LikePay - QR code
- Experimental SDK
- Useful if your site wants to accept payment from
LikerLand App
- Demo
- Reference
LikePay - Web widget
- Experimental, still under development
- Not available for production yet
- Allow websites to receive LIKE payment via redirecting to
like.co payment widget
- Example 1, Example 2
- Reference
API
- https://api.docs.like.co/
- We use Postman for development and documentation
purpose
- There are public APIs that does not require authentication,
and auth-ed API that uses OAuth 2.0 and JWT auth
Public API
- LikeCoin info and statistic, public user profiles, transaction
records, Cosmos LCD, and public LikeCoin button / article
info are accessible via api.like.co
- Many of our current products / SDKs are also built on top
of these
Public API - Demo: badges
- We have these little badges for showing LikeCoin
ecosystem real-time statistic
- We will use stat api and display the data with gh-badges
library
- How is it done
OAuth API
- We use a OAuth2.0-like auth flow
- We don't have a developer console yet, client id and
secret are generated on request, contact us if you need it
- Sensitive scope like `email`, `like:read` `like:write` are not
granted by default, please contact us if you feel that you
have a very suitable use case for them.
OAuth API - Demo
- We will use passport and @matters/passport-likecoin for
our auth flow
- This is a minimal example so we won’t handle the refresh
token part
- Demo
Conclusion
- Many of these APIs and SDKs are still under
development, or are in still experimental state
- Comments, suggestions and contributes are welcome!
- https://github.com/likecoin
- Also #likecoin channel in g0v-tw slack

More Related Content

Similar to LikeCoin SDK and API sharing

Hyperledger Composer architecture
Hyperledger Composer architectureHyperledger Composer architecture
Hyperledger Composer architectureSimon Stone
 
Play Your API with MuleSoft API Notebook
Play Your API with MuleSoft API NotebookPlay Your API with MuleSoft API Notebook
Play Your API with MuleSoft API NotebookRakesh Kumar Jha
 
Business-friendly library for inter-service communication
Business-friendly library for inter-service communicationBusiness-friendly library for inter-service communication
Business-friendly library for inter-service communicationPivorak MeetUp
 
Building Enterprise Chat Bots
Building Enterprise Chat BotsBuilding Enterprise Chat Bots
Building Enterprise Chat BotsVasu Jain
 
Apigility – Lightning Fast API Development - OSSCamp 2014
Apigility – Lightning Fast API Development - OSSCamp 2014 Apigility – Lightning Fast API Development - OSSCamp 2014
Apigility – Lightning Fast API Development - OSSCamp 2014 OSSCube
 
WAC Network APIs @ OverTheAir 2011
WAC Network APIs @ OverTheAir 2011WAC Network APIs @ OverTheAir 2011
WAC Network APIs @ OverTheAir 2011Ricardo Varela
 
24032022 Zero Trust for Developers Pub.pdf
24032022 Zero Trust for Developers Pub.pdf24032022 Zero Trust for Developers Pub.pdf
24032022 Zero Trust for Developers Pub.pdfTomasz Kopacz
 
Chat Bots and how to build a Slack bot
Chat Bots and how to build a Slack botChat Bots and how to build a Slack bot
Chat Bots and how to build a Slack botVasu Jain
 
RefCard API Architecture Strategy
RefCard API Architecture StrategyRefCard API Architecture Strategy
RefCard API Architecture StrategyOCTO Technology
 
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryIBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryKaren Broughton-Mabbitt
 
Introduction to the Globus Platform for Developers
Introduction to the Globus Platform for DevelopersIntroduction to the Globus Platform for Developers
Introduction to the Globus Platform for DevelopersGlobus
 
Cloud Connectivity Service
Cloud Connectivity ServiceCloud Connectivity Service
Cloud Connectivity Servicejhpark
 
OpenSocial Intro
OpenSocial IntroOpenSocial Intro
OpenSocial IntroPamela Fox
 
Training thethings.iO
Training thethings.iOTraining thethings.iO
Training thethings.iOMarc Pous
 
Share point 2013 apps and i mean it
Share point 2013 apps and i mean itShare point 2013 apps and i mean it
Share point 2013 apps and i mean itEric Overfield
 
OGCE Project Overview
OGCE Project OverviewOGCE Project Overview
OGCE Project Overviewmarpierc
 
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS AppsFastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS AppsSarath C
 
Building Your First App with MongoDB
Building Your First App with MongoDBBuilding Your First App with MongoDB
Building Your First App with MongoDBMongoDB
 

Similar to LikeCoin SDK and API sharing (20)

Hyperledger Composer architecture
Hyperledger Composer architectureHyperledger Composer architecture
Hyperledger Composer architecture
 
Play Your API with MuleSoft API Notebook
Play Your API with MuleSoft API NotebookPlay Your API with MuleSoft API Notebook
Play Your API with MuleSoft API Notebook
 
Business-friendly library for inter-service communication
Business-friendly library for inter-service communicationBusiness-friendly library for inter-service communication
Business-friendly library for inter-service communication
 
Building Enterprise Chat Bots
Building Enterprise Chat BotsBuilding Enterprise Chat Bots
Building Enterprise Chat Bots
 
Apigility – Lightning Fast API Development - OSSCamp 2014
Apigility – Lightning Fast API Development - OSSCamp 2014 Apigility – Lightning Fast API Development - OSSCamp 2014
Apigility – Lightning Fast API Development - OSSCamp 2014
 
WAC Network APIs @ OverTheAir 2011
WAC Network APIs @ OverTheAir 2011WAC Network APIs @ OverTheAir 2011
WAC Network APIs @ OverTheAir 2011
 
24032022 Zero Trust for Developers Pub.pdf
24032022 Zero Trust for Developers Pub.pdf24032022 Zero Trust for Developers Pub.pdf
24032022 Zero Trust for Developers Pub.pdf
 
Chat Bots and how to build a Slack bot
Chat Bots and how to build a Slack botChat Bots and how to build a Slack bot
Chat Bots and how to build a Slack bot
 
Building a Slack Bot Workshop @ Nearsoft OctoberTalks 2017
Building a Slack Bot Workshop @ Nearsoft OctoberTalks 2017Building a Slack Bot Workshop @ Nearsoft OctoberTalks 2017
Building a Slack Bot Workshop @ Nearsoft OctoberTalks 2017
 
RefCard API Architecture Strategy
RefCard API Architecture StrategyRefCard API Architecture Strategy
RefCard API Architecture Strategy
 
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryIBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
 
Introduction to the Globus Platform for Developers
Introduction to the Globus Platform for DevelopersIntroduction to the Globus Platform for Developers
Introduction to the Globus Platform for Developers
 
Cloud Connectivity Service
Cloud Connectivity ServiceCloud Connectivity Service
Cloud Connectivity Service
 
OpenSocial Intro
OpenSocial IntroOpenSocial Intro
OpenSocial Intro
 
Training thethings.iO
Training thethings.iOTraining thethings.iO
Training thethings.iO
 
Share point 2013 apps and i mean it
Share point 2013 apps and i mean itShare point 2013 apps and i mean it
Share point 2013 apps and i mean it
 
OGCE Project Overview
OGCE Project OverviewOGCE Project Overview
OGCE Project Overview
 
senior software developer .net
senior software developer .netsenior software developer .net
senior software developer .net
 
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS AppsFastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
 
Building Your First App with MongoDB
Building Your First App with MongoDBBuilding Your First App with MongoDB
Building Your First App with MongoDB
 

More from William Chong

Disneyland: details in imagineering
Disneyland: details in imagineeringDisneyland: details in imagineering
Disneyland: details in imagineeringWilliam Chong
 
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTYWilliam Chong
 
Writing NFT - POAP for Content
Writing NFT - POAP for ContentWriting NFT - POAP for Content
Writing NFT - POAP for ContentWilliam Chong
 
Expecto Patronum! Stable Diffusion!
Expecto Patronum! Stable Diffusion!Expecto Patronum! Stable Diffusion!
Expecto Patronum! Stable Diffusion!William Chong
 
Introduction to data visualization
Introduction to data visualizationIntroduction to data visualization
Introduction to data visualizationWilliam Chong
 
Introducing Vtuber LikeCoin chan - Vtuber culture and how to
Introducing Vtuber LikeCoin chan - Vtuber culture and how toIntroducing Vtuber LikeCoin chan - Vtuber culture and how to
Introducing Vtuber LikeCoin chan - Vtuber culture and how toWilliam Chong
 
LikeCoin SDK 及 API 分享
LikeCoin SDK 及 API 分享LikeCoin SDK 及 API 分享
LikeCoin SDK 及 API 分享William Chong
 
Intro to Github Actions @likecoin
Intro to Github Actions @likecoinIntro to Github Actions @likecoin
Intro to Github Actions @likecoinWilliam Chong
 

More from William Chong (11)

SEO 門外漢入門
SEO 門外漢入門SEO 門外漢入門
SEO 門外漢入門
 
Disneyland: details in imagineering
Disneyland: details in imagineeringDisneyland: details in imagineering
Disneyland: details in imagineering
 
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
 
Writing NFT - POAP for Content
Writing NFT - POAP for ContentWriting NFT - POAP for Content
Writing NFT - POAP for Content
 
Game Design 9up
Game Design 9upGame Design 9up
Game Design 9up
 
Expecto Patronum! Stable Diffusion!
Expecto Patronum! Stable Diffusion!Expecto Patronum! Stable Diffusion!
Expecto Patronum! Stable Diffusion!
 
Introduction to data visualization
Introduction to data visualizationIntroduction to data visualization
Introduction to data visualization
 
Introducing Vtuber LikeCoin chan - Vtuber culture and how to
Introducing Vtuber LikeCoin chan - Vtuber culture and how toIntroducing Vtuber LikeCoin chan - Vtuber culture and how to
Introducing Vtuber LikeCoin chan - Vtuber culture and how to
 
Road to cloud hero
Road to cloud heroRoad to cloud hero
Road to cloud hero
 
LikeCoin SDK 及 API 分享
LikeCoin SDK 及 API 分享LikeCoin SDK 及 API 分享
LikeCoin SDK 及 API 分享
 
Intro to Github Actions @likecoin
Intro to Github Actions @likecoinIntro to Github Actions @likecoin
Intro to Github Actions @likecoin
 

Recently uploaded

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

LikeCoin SDK and API sharing

  • 1. LikeCoin SDK and API sharing William Chong
  • 2. Agenda - Introduction to our developer documentations - Our current SDKs - Cosmos - LikeCoin button - LIKE pay - API - Documentation and Postman - Public API - Authenticated API
  • 3. Documentations - User guide and developer resources - https://docs.like.co/developer - Our github - https://github.com/likecoin/likecoin - (Work in progress) g0v project hub - https://chunyenhuang.github.io/awesome-g0v-projects/ #/project/LikeCoin%20%E8%AE%9A%E8%B3%9E%E 5%85%AC%E6%B0%91%E5%85%B1%E5%92%8C %E5%9C%8B/dashboard
  • 4. SDKs - Cosmo SDK/API - LikeCoin chain is built on top of cosmos sdk - Compatible to most cosmos sdk tools and documentations - E.g. Tendermint / cosmos LCD restful API: https://cosmos.network/rpc/v0.37.9 - Wallet / other cosmos tools might also work, if chain parameters are set accordingly e.g. bigdipper - @Chung will talk about it more in next week
  • 5. LikeCoin button - An website embedded in iframe, example - Current two ways to integrate: iframe and js - More sdk will be developed in the future: php, vue, react, etc
  • 6. LikeCoin button - iframe - Most basic way to integrate LikeCoin button - Iframe + Liker ID + referrer (encodeURIComponent(${canonical URL})) - Demo - Reference
  • 7. LikeCoin button - Javascript - Simplest way to integrate LikeCoin button via a single <script> include in html - Demo - Reference
  • 8. LikeCoin button - Misc We also support: - Wordpress, 9.2k download, 1k+ active installations - Embedly, supported on medium, etc - https://button.like.co/{{LikerID}}
  • 9. LikeCoin button - Usage - Personal blog/site - Medium article demo - https://flagselling.net (WIP) - ??? (your call)
  • 10. LikePay - Experimental sdks, still under development - Currently support QR code and web widget, latter is not released yet
  • 11. LikePay - QR code - Experimental SDK - Useful if your site wants to accept payment from LikerLand App - Demo - Reference
  • 12. LikePay - Web widget - Experimental, still under development - Not available for production yet - Allow websites to receive LIKE payment via redirecting to like.co payment widget - Example 1, Example 2 - Reference
  • 13. API - https://api.docs.like.co/ - We use Postman for development and documentation purpose - There are public APIs that does not require authentication, and auth-ed API that uses OAuth 2.0 and JWT auth
  • 14. Public API - LikeCoin info and statistic, public user profiles, transaction records, Cosmos LCD, and public LikeCoin button / article info are accessible via api.like.co - Many of our current products / SDKs are also built on top of these
  • 15. Public API - Demo: badges - We have these little badges for showing LikeCoin ecosystem real-time statistic - We will use stat api and display the data with gh-badges library - How is it done
  • 16. OAuth API - We use a OAuth2.0-like auth flow - We don't have a developer console yet, client id and secret are generated on request, contact us if you need it - Sensitive scope like `email`, `like:read` `like:write` are not granted by default, please contact us if you feel that you have a very suitable use case for them.
  • 17. OAuth API - Demo - We will use passport and @matters/passport-likecoin for our auth flow - This is a minimal example so we won’t handle the refresh token part - Demo
  • 18. Conclusion - Many of these APIs and SDKs are still under development, or are in still experimental state - Comments, suggestions and contributes are welcome! - https://github.com/likecoin - Also #likecoin channel in g0v-tw slack