opensocial

How to add Twitter support for Opensocial on a Apache Tomcat (Liferay)?

╄→гoц情女王★ 提交于 2020-01-17 07:28:01
问题 i recently upgraded to Liferay 6.1(b4 from the trunk 17.11.2011) to test the Opensocial support. Now i wanted to make a Twitter Oauth request, but i am not able to do this. I first tested if Opensocial works with some sample gadgets, but i get a error from every gadget. Error: 403 Error, OAuth error: NOT_OWNER, Non-Secure Owner Page. Only page owners can grant OAuth approval ==== Original request: GET /1/account/verify_credentials.json Host: api.twitter.com X-Shindig-AuthType: oauth X

osapi.people.get() returns 404 in google calendar sidebar gadget

老子叫甜甜 提交于 2019-12-13 21:13:39
问题 For an html-type calendar sidebar gadget with module prefs, <Require feature="opensocial-0.9"/> <Require feature="osapi" /> where calls to osapi.http all successfully send, this results in a 404 response: osapi.people.get({userId:'@viewer'}).execute(function(response) { console.log(response); }); This is wrapped in a POST to the same RPC endpoint as the osapi.http calls, with the post object as expected: [{"method":"people.get","id":"people.get","params":{"userId":"@viewer","groupId":"@self"}

Posting status update to IBM Connections Community

℡╲_俬逩灬. 提交于 2019-12-12 04:49:14
问题 I'm able to post a status update to an IBM Connections community. However the status update is visible in the Recent Updates section and not in the Status Update section. I'm using the following URL: https://host.com/connections/opensocial/rest/activitystreams/urn:lsid:lconn.ibm.com:communities.community:5a0fdd28-127e-4bd0-969f-ef1254ecd9dc/@all/@public And the following JSON: {"object":{"url":"url","objectType":"note","id":"109876b6-f33b-3210-45bc-966a5d2cc096-rai1sgp","displayName":"Tracy

Portal和OpenSocial

醉酒当歌 提交于 2019-12-06 08:45:09
最近有个任务,就是要做一个像Igoogle一样可以拖拽的页面,然后开发一些小控件,可以动态维护和布局。之前没有接触过,感觉可能就是些JS,外加两张表存储控件位置,觉得应该还能实现,就试着做了下,因为之前听说过Portal这个名词,于是就本是遵循规范、借鉴开源、不重复造轮子的原则,在网上搜搜Portal相应规范和开源实现,开始了我的实现之路。在浪费了近一个月时间的仍希望渺茫的时候,接触到了OpenSocial,才终于完成了任务。 (一)Portal Portal一词中文翻译为门户,是基于Web的应用,通常提供个性化,单点登录,整合不同资源的综合信息展示平台。Portal展现在最终用户面前的是类似于Web网页的Portal页面。 构成Portal页面的是能够建立和展现不同内容的一系列Portlet。Portlet处理从Portal传递来的用户请求,动态生成输出内容的一个片段,展现在Portal页面的某个位置上。 下图显示了Portal服务器、Portlet容器以及Portlet之间的关系。 Portlet是一个符合JSR168标准的类,是运行于Portal上的真正代表业务逻辑的部件,负责展现内容、处理请求。在Portal搭建好后,主要的工作就是根据业务要求开发Portlet了。 在部署Portlet到一个Portal时,除需要将逻辑代码拷贝过去外,还需要定义一个portlet

What are the best Java social networking frameworks? [closed]

£可爱£侵袭症+ 提交于 2019-11-28 16:01:22
I would like to create a private customized social networking for my company employees and partners so that they can collaborate, exchange messages, share experiences (events, book references, etc) and be grouped into communities. Does anybody know good Java framework for start developing this? I would be looking for something that would contain basic components such as Profile, Friend List, Community, Events, Messages, etc. Each of this component could be extended to implement domain specific features. It would be nice if it also supports OpenSocial. Shindig is in incubation at Apache : http:

What are the best Java social networking frameworks? [closed]

一个人想着一个人 提交于 2019-11-27 09:30:27
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . I would like to create a private customized social networking for my company employees and partners so that they can collaborate,

Where is a good Address Parser [closed]

两盒软妹~` 提交于 2019-11-26 15:59:08
问题 I'm looking for a good tool that can take a full mailing address, formatted for display or use with a mailing label, and convert it into a structured object. So for instance: // Start with a formatted address in a single string string f = "18698 E. Main Street\r\nBig Town, AZ, 86011"; // Parse into address Address addr = new Address(f); addr.Street; // 18698 E. Main Street addr.Locality; // Big Town addr.Region; // AZ addr.PostalCode; // 86011 Now I could do this using RegEx. But the tricky