利用野狗javaScript Sdk开发的类似的微博的社交应用。
可以参考wilddog demo
var wilddog = new Wilddog("https://wildfeed.wilddogio.com/");
// 监控登录状态的变化
var authClient = new WilddogSimpleLogin(chatRef, function(error, user) {
if (error) {
console.log(error);
} else if (user) {
console.log('User ID: ' + user.id + ', Provider: ' + user.provider);
} else {
// logged out
}
});
authClient.login('qq');
首先确认本机已经安装 Node.js 运行环境,然后执行下列指令:
git clone [email protected]:WildDogTeam/demo-js-wildpad.git
cd demo-js-wildfeed
安装依赖:
npm install
启动项目:
gulp
或者使用ruby进行构建
bundle exec heel -p 3000 --no-launch-browser -r www/
这里分类汇总了 WildDog平台上的示例程序和开源应用, 链接地址:https://github.com/WildDogTeam/wilddog-demos
如果在使用过程中有任何问题,请提 issue ,我会在 Github 上给予帮助。
MIT http://wilddog.mit-license.org/
We would like to thank the following projects for helping us achieve our goals:
Open Source:
- firefeed Firefeed is a web app that lets users post small messages called sparks to their feed. You can follow other users, and their sparks will appear on your feed