Hi:
I am new to Facebook API, but I would like to do what a lot of applications are doing. I have attached a screenshot on what the JFBConnect 2.5.3 does, what I want to do and what I have done so far (but not meeting my requirements).
First of all, the current user status update is done using the Users.setStatus in the facebook API. It doesn't allow a picture to be associated with that. These are the top two notifications on my screen capture.
The 3rd one (Dickson Chan) is what I want to do, I want to associate an image with the status update. Afterall, an image says a thousand words and it will attract more people to click into my site. Note that I do not want facebook asking whether the user wants to do this or not. It's very annoying.
The last one is my attempt to implement the above by using Feed Forms. My code looks like this as I use FB.Connect.streamPublish:
FB.Connect.streamPublish('I just bought something from Puxzycat.com. Checkout this great site that sells Japanese Fashion at low prices. They also have a store in Causeway Bay, Hong Kong! Sign up and win a free gift!', attachment, actionLinks);
I think I can use "Stream.publish" instead right?
<!-- m --><a class="postlink" href="
wiki.developers.facebook.com/index.php/Stream.publish">
wiki.developers.facebook.com/ind ... am.publish
But the arguments are very different to Users.setStatus
<!-- m --><a class="postlink" href="
wiki.developers.facebook.com/index.php/Users.setStatus">
wiki.developers.facebook.com/ind ... .setStatus
So my question is:
Is it possible for you guys to write a function that does this and allow us to call it from anywhere within the Joomla framework (ie. Virtuemart, JoomGallery, etc.)? The key is attaching a picture to the message and the message can be up to 420 characters long according to facebook. Also, it doesn't ask the user for permission to publish. That's very important!
Thanks and really looking forward to a quick solution.
Albert