我可以在我的 ASP.NET Web 应用程序中使用 opensocial.net 库来获取任何人的信息吗?
请向我建议任何解决方案或教程或任何示例代码。
谢谢
Please suggest me any solutions or tutorials or any sample code.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
同时,您可以使用 opensocial javascript API,首先获取有关此人的所有信息
然后使用 opensocial js 库提供的 makeRequest 函数将信息发送到您的应用程序。
例如:
其余的逻辑将在您的 aspx 页面中实现,或者如果您想要一些逻辑可以在客户端的 javascript 中完成。
使用这个和一些基本的 opensocial api 理解,您可以让您的应用程序及时运行,而无需等待 REST api 足够成熟。
请查阅 opensocial wiki 了解更多详细信息。
You can use opensocial javascript API in the mean time, to first fetch all the information about the person
and then using the makeRequest Function provided by the opensocial js library to send the information to your application.
For ex:
The rest of the logic would be implemented in your aspx pages or if you want some can be done in javascript on client side.
Using this and some basic opensocial api understanding you can get your app working in to time without having to wait for the REST apis to be mature enough.
Look up the opensocial wiki for more details.
OpenSocial .NET 客户端库似乎没有太多在线文档然而,所以没有教程。 自述文件确实包含一些基本的入门信息。
Pesta 似乎是一个更成熟的解决方案,但我能看到的文档仍然不多。
我没有使用过,所以我无法评论哪一个更适合您的需求。 我想您必须选择一个,尝试一下,然后如果您需要更多信息,请与开发人员聊天。
OpenSocial 网站提供了大量更一般的信息。
祝你好运!
The OpenSocial .NET Client Library doesn't seem to have much documentation online yet, so no tutorials. The readme does contain some basic getting started information.
Pesta seems to be a more developed solution, but still not much documentation that I can see.
I've not used either so I couldn't comment on which would be better for your needs. I guess you'll have to pick one, have a play with it, and then chat to the developers if you need more info.
The OpenSocial website has a lot of more general information.
Good luck!