This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Facebook Message

May 10th, 2012, 09:38 PM

Hi Everyone,

According to this 6 month old post Spring Social is not able to send messages between facebook users. Is this still the case, or is this post mistaken? It seems like this is a newly added feature to the facebook api (see stackoverflow link below). So if this is possible using Spring Social can someone please post some sample code?

When I was first working through the Facebook API binding, there was some stuff changing within Facebook's Graph API for sending messages between users. It hadn't settled down before I pushed the 1.0 release and so 1.0 went out without that capability.

I've been monitoring the Graph API keeping watch for this to be available, but all indications are that there is still no way to send private messages to other users (and due to the risk of spam, there may never be). I just did a scan of the Graph API documentation and saw nothing that would allow for this. That said, it looks like the inbox and outbox endpoints are available for reading messages that a user has sent/received. This is an opportunity for an improvement to Spring Social Facebook's API binding and I've created https://jira.springsource.org/browse/SOCIALFB-85 to track this improvement.