Does someone know if Mathematica 10 allows to send messages to Facebook but not on the user's wall rather to a secret or closed group? I have an small application that reads some data from a web site each 10 minutes and I would automatically post an updated image of such data on a secret group on Facebook. Thanks in advance, Roberto

  • $\begingroup$ Is there any other API you know of to do this? $\endgroup$ – Igor Rivin Oct 1 '14 at 19:53
  • $\begingroup$ @Igor Rivin No, I just used SendMessage, for instance: SendMessage["Facebook", "I sent this message from the Wolfram Language."] and it works, but the message is sent to my account's wall. I need to send it to a private group. Now, I'll search if any API is available on the net. Thanks $\endgroup$ – bobknight Oct 1 '14 at 20:26

Facebook graph API lets you do this (obviously):


which means that you can take any of the external wrappers for it (python would be my favorite), and just run it as an external command.

  • $\begingroup$ Thanks for that, but I thought it was an internal option of SendMessage or other Mathematica built-in similar function. However, I'll take a look at that API. Thanks again for the help. $\endgroup$ – bobknight Oct 2 '14 at 8:24
  • $\begingroup$ I get the answer from the Technical Support at Wolfram, they confirmed that currently there is not a native command or option to send messages to facebook groups, but it could be in the next releases. $\endgroup$ – bobknight Oct 8 '14 at 14:44
  • $\begingroup$ @bobknight I am quite sure that using the python wrapper for Facebook native functionality will be a LOT more robust (since WRI cannot get their .csv support straightened out after about, oh, 20 years, I would imagine that must faster moving targets like the FB interface is not going to be better. $\endgroup$ – Igor Rivin Oct 8 '14 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.