Uploaded image for project: 'Spring Social Facebook'
  1. Spring Social Facebook
  2. SOCIALFB-99

Facebook Notifications

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0.RELEASE
    • Fix Version/s: None
    • Component/s: API Binding
    • Labels:
      None
    • Environment:
      Grails spring social facebook plugin 0.1.32

      Description

      Hi,

      I am using the Grails plugin:
      plugins.spring-social-facebook=0.1.32
      and it would be great if spring social facebook also supported facebook notifications:
      https://developers.facebook.com/docs/reference/fql/notification/

      I was able to get a basic Page notification import running using the attached code and:

      NotificationOperations notificationOperations = new NotificationTemplate(facebookTemplate, facebookTemplate.isAuthorized());
      notifs = notificationOperations.getNotifications(pageId, 0, 25)
      

      and adding the Mixin to the FacebookModule:

      	package org.springframework.social.facebook.api.impl.json;
      	
      	@Override
      	public void setupModule(SetupContext context) {
      		//  ....
      		context.setMixInAnnotations(Notification.class, NotificationMixin.class);
      		//  .....
      	}
      

      thanks,

      Jonny

        Attachments

          Activity

            People

            Assignee:
            habuma Craig Walls
            Reporter:
            j.white Jonny W
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: