Messaging: Twitter, Facebook, RSS integration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Martin Heiland
    Open-Xchange Quality Assurance
    • Feb 2007
    • 3695

    #1

    Messaging: Twitter, Facebook, RSS integration

    Hi all,

    following our "Social OX" concept, we're focusing on messaging now. Subscribing to social networks like LinkedIn, importing your Facebook friends as contacts or integrating your Google Mail account is a good start. The next level are interactive services like Twitter or Facebook. We're working on some functionality:

    * Read, write, retweet messages using Twitter
    * Read and update your Facebook Wall
    * Subscribing to RSS feeds

    This content is managed through a usual folder within OX. In future iterations, we'll be able to aggregate different messaging types within a single folder. What do you think about such features? I'm gonna post some screenshots of the current prototype later.
    21
    Can't wait to get it, would be a huge step forward (Very positive)
    52.38%
    11
    Good idea (Positive)
    14.29%
    3
    Nice to have, but there are more urgent topics (Neutral)
    4.76%
    1
    Does not make sense to me (Negative)
    28.57%
    6
  • Martin Heiland
    Open-Xchange Quality Assurance
    • Feb 2007
    • 3695

    #2
    This feature has been released with OX 6.16 as a preview implementation.

    Comment

    • trash

      #3
      I just installed Open-Xchange 6.16 on Debian Lenny, but Facebook features doesn't seem to work. I get the following error message:
      Code:
      Communication error with facebook service: Invalid API key (FACEBOOK-0006, -760965612-433)

      Comment

      • Martin Heiland
        Open-Xchange Quality Assurance
        • Feb 2007
        • 3695

        #4
        Hi,

        facebook requires an API key that identifies the application. since the current implementation is a preview, we do not ship a generic key. you can get one for free within seconds here: http://developers.facebook.com/get_started.php

        Then enter the key and the private key to facebookmessaging.properties

        Hope that helps

        Comment

        • trash

          #5
          Thank you, I created a Facebook application and used the API key and secret. But now I get the following error message:
          Code:
          Login to facebook failed for login my-e-mail-address. (FACEBOOK-0005, 1796652684-25)
          I'm sure my Facebook login and password are OK.

          Comment

          • Martin Heiland
            Open-Xchange Quality Assurance
            • Feb 2007
            • 3695

            #6
            Well, the login fails if its triggered too often, at least that's my impression. You could try again after some minutes.

            Comment

            • trash

              #7
              I tried again after some hours, it doesn't work...

              Comment

              • Martin Heiland
                Open-Xchange Quality Assurance
                • Feb 2007
                • 3695

                #8
                Could you post a stacktrace (log entry) when this error occurs? Thanks!

                Comment

                • trash

                  #9
                  Open-Xchange try to authenticate twice:
                  Code:
                  17 mars 2010 12:26:16 com.openexchange.ajax.Folder$MessagingRootFolderWriter call
                  GRAVE: FACEBOOK-0005 Category=8 Message=Login to facebook failed for login my-e-mail-address. exceptionID=1796652684-479
                  FACEBOOK-0005 Category=8 Message=Login to facebook failed for login my-e-mail-address. exceptionID=1796652684-479
                          at com.openexchange.messaging.facebook.exception.FacebookMessagingExceptionFactory.createException(FacebookMessagingExceptionFactory.java:86)
                          at com.openexchange.messaging.facebook.exception.FacebookMessagingExceptionFactory.createException(FacebookMessagingExceptionFactory.java:63)
                          at com.openexchange.exceptions.Exceptions.create(Exceptions.java:139)
                          at com.openexchange.exceptions.Exceptions.create(Exceptions.java:143)
                          at com.openexchange.exceptions.Exceptions.create(Exceptions.java:155)
                          at com.openexchange.messaging.facebook.FacebookMessagingExceptionCodes.create(FacebookMessagingExceptionCodes.java:150)
                          at com.openexchange.messaging.facebook.session.FacebookSession.loginViaWebPage(FacebookSession.java:539)
                          at com.openexchange.messaging.facebook.session.FacebookSession.login(FacebookSession.java:446)
                          at com.openexchange.messaging.facebook.session.FacebookSession.connect(FacebookSession.java:341)
                          at com.openexchange.messaging.facebook.FacebookMessagingResource.connect(FacebookMessagingResource.java:120)
                          at com.openexchange.messaging.facebook.FacebookMessagingAccountAccess.getRootFolder(FacebookMessagingAccountAccess.java:152)
                          at com.openexchange.ajax.Folder$MessagingRootFolderWriter.call(Folder.java:2574)
                          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                          at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:737)
                          at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:763)
                          at java.lang.Thread.run(Thread.java:619)
                  17 mars 2010 12:26:18 com.openexchange.ajax.Folder$MessagingRootFolderWriter call
                  GRAVE: FACEBOOK-0005 Category=8 Message=Login to facebook failed for login my-e-mail-address. exceptionID=1796652684-480
                  FACEBOOK-0005 Category=8 Message=Login to facebook failed for login my-e-mail-address. exceptionID=1796652684-480
                          at com.openexchange.messaging.facebook.exception.FacebookMessagingExceptionFactory.createException(FacebookMessagingExceptionFactory.java:86)
                          at com.openexchange.messaging.facebook.exception.FacebookMessagingExceptionFactory.createException(FacebookMessagingExceptionFactory.java:63)
                          at com.openexchange.exceptions.Exceptions.create(Exceptions.java:139)
                          at com.openexchange.exceptions.Exceptions.create(Exceptions.java:143)
                          at com.openexchange.exceptions.Exceptions.create(Exceptions.java:155)
                          at com.openexchange.messaging.facebook.FacebookMessagingExceptionCodes.create(FacebookMessagingExceptionCodes.java:150)
                          at com.openexchange.messaging.facebook.session.FacebookSession.loginViaWebPage(FacebookSession.java:539)
                          at com.openexchange.messaging.facebook.session.FacebookSession.login(FacebookSession.java:446)
                          at com.openexchange.messaging.facebook.session.FacebookSession.connect(FacebookSession.java:341)
                          at com.openexchange.messaging.facebook.FacebookMessagingResource.connect(FacebookMessagingResource.java:120)
                          at com.openexchange.messaging.facebook.FacebookMessagingAccountAccess.getRootFolder(FacebookMessagingAccountAccess.java:152)
                          at com.openexchange.ajax.Folder$MessagingRootFolderWriter.call(Folder.java:2574)
                          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                          at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:737)
                          at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:763)
                          at java.lang.Thread.run(Thread.java:619)

                  Comment

                  • pborg
                    Junior Member
                    • Dec 2009
                    • 25

                    #10
                    Have to say +1 to this; just upgraded to 6.16.0 rev 4 today, Ubuntu 8.04 LTS. Same problem, same symptoms, same error message.

                    Comment

                    • pborg
                      Junior Member
                      • Dec 2009
                      • 25

                      #11
                      Bump - just upgraded to 6.16.1 rev 3 - exact same problem.

                      Comment

                      • Martin Heiland
                        Open-Xchange Quality Assurance
                        • Feb 2007
                        • 3695

                        #12
                        Hi,

                        please check out 6.16.1, we fixed some social messaging stuff with that minor release.

                        Thanks

                        Comment

                        • pborg
                          Junior Member
                          • Dec 2009
                          • 25

                          #13
                          Originally posted by Martin Braun View Post
                          Hi,

                          please check out 6.16.1, we fixed some social messaging stuff with that minor release.

                          Thanks
                          As per previous post (see above), same problem....

                          Comment

                          • goad
                            Junior Member
                            • Sep 2010
                            • 19

                            #14
                            Facebook still not working

                            This problem appears still not to be resolved in 6.18.0 rev 7 on a Debian server. I have used my own Facebook keys / secret and have a similar problem as described above. Or maybe this is a different problem?

                            In OX6 web interface: 15.09.2010 18:17-->Error: Got Exception com.facebook.api.schema.FacebookApiException cannot be cast to com.facebook.api.schema.SessionInfo (SUBH-0103, 1111883638-330)

                            In /var/log/open-xchange/open-xchange.log.0:

                            SCHWERWIEGEND: Coding Error: SUBH-0103 Category=8 Message=Got Exception com.facebook.api.schema.FacebookApiException cannot be cast to com.facebook.api.schema.SessionInfo exceptionID=1111883638-330
                            SUBH-0103 Category=8 Message=Got Exception com.facebook.api.schema.FacebookApiException cannot be cast to com.facebook.api.schema.SessionInfo exceptionID=1111883638-330
                            at com.openexchange.subscribe.json.SubscriptionJSONEx ceptions.createException(SubscriptionJSONException s.java:69)
                            at com.openexchange.subscribe.json.SubscriptionJSONEx ceptions.createException(SubscriptionJSONException s.java:62)
                            at com.openexchange.exceptions.Exceptions.create(Exce ptions.java:144)
                            at com.openexchange.exceptions.Exceptions.create(Exce ptions.java:164)
                            at com.openexchange.subscribe.json.SubscriptionJSONEr rorMessages.createException(SubscriptionJSONErrorM essages.java:114)
                            at com.openexchange.subscribe.json.MultipleHandlerToo ls.wrapThrowable(MultipleHandlerTools.java:63)
                            at com.openexchange.subscribe.json.SubscriptionMultip leHandler.performRequest(SubscriptionMultipleHandl er.java:147)
                            at com.openexchange.ajax.MultipleAdapterServlet.handl e(MultipleAdapterServlet.java:113)
                            at com.openexchange.ajax.MultipleAdapterServlet.doGet (MultipleAdapterServlet.java:87)
                            at javax.servlet.http.HttpServlet.service(HttpServlet .java:596)
                            at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:392)
                            at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:174)
                            at com.openexchange.ajax.PermissionServlet.service(Pe rmissionServlet.java:66)
                            at javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
                            at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.doServletService(AJPv13RequestHandlerImpl.java: 504)
                            at com.openexchange.ajp13.AJPv13Request.response(AJPv 13Request.java:129)
                            at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.createResponse(AJPv13RequestHandlerImpl.java:31 6)
                            at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.c reateResponse(AJPv13ConnectionImpl.java:207)
                            at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13 Task.java:346)
                            at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
                            at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
                            at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:738)
                            at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:764)
                            at java.lang.Thread.run(Thread.java:619)
                            Caused by: java.lang.ClassCastException: com.facebook.api.schema.FacebookApiException cannot be cast to com.facebook.api.schema.SessionInfo
                            at com.facebook.api.FacebookJaxbRestClient.auth_getSe ssion(FacebookJaxbRestClient.java:302)
                            at com.openexchange.subscribe.crawler.FacebookAPIStep .execute(FacebookAPIStep.java:132)
                            at com.openexchange.subscribe.crawler.Workflow.execut e(Workflow.java:166)
                            at com.openexchange.subscribe.crawler.Workflow.execut e(Workflow.java:126)
                            at com.openexchange.subscribe.crawler.internal.Generi cSubscribeService.getContent(GenericSubscribeServi ce.java:116)
                            at com.openexchange.subscribe.internal.SubscriptionEx ecutionServiceImpl.executeSubscriptions(Subscripti onExecutionServiceImpl.java:142)
                            at com.openexchange.subscribe.json.SubscriptionMultip leHandler.refreshSubscriptions(SubscriptionMultipl eHandler.java:183)
                            at com.openexchange.subscribe.json.SubscriptionMultip leHandler.performRequest(SubscriptionMultipleHandl er.java:137)
                            ... 17 more
                            Has anyone got this working at all ?

                            --
                            Goad

                            Comment

                            • Martin Heiland
                              Open-Xchange Quality Assurance
                              • Feb 2007
                              • 3695

                              #15
                              Hi,

                              i've just tested it with 6.18.0 and it works fine. Could you please check if all OX packages are at the same version? Perhaps one or more packages are not yet updated which can cause such issues.

                              Greetings

                              Comment

                              Working...
                              X