I want to publish message on Facebook's fan page using JAVA/GWT API.
Any one know any API to do this in GWT?
I am trying it with facebook4gwt.
But don't know TemplateBundleId in facebook, which is needed for publishing message on wall.
The gwt-facebook project adds Facebook API methods to GWT, but doesn't appear to have any wall-posting methods listed in its currently-supported API methods. You could probably take a look at the source and add this feature though, it would probably just be an addition to FacebookApi (see this diff which added the comment_add feature.
Related
Is there any way I can create comments related to my object, without using the comments plugin? The Facebook Graph API seems like the correct way, but can I link to an object on my web site without actually "posting" that object as a post on facebook? Amazingly, I can't find anyone on the Net with this problem, so perhaps I'm simply doing it wrong.
I'm trying to post to:
https://graph.facebook.com/comments/?ids=http://iesgroup.ca/myappbeta/Item/1799633&message=test&access_token....
I do have the publish_stream permission in the access_token. All I get back is "An unknown error has occurred".
Essentially, I have set up my own web site using the Open Graph protocols. Each item that I have has its own URL with the proper OG tags. For each item, I am able to fetch the comments that facebook has associated with it. But I am unable to actually attach new comments to that object, without using the facebook comment plugin. I'm using my own look-and-feel commenting system, so I am not interested in using facebook's module. I'm using the JavaScript API to fetch the existing comments.
Note, that if I use the Open Graph protocol, users are able to post actions to their timeline, but not actually associate new comments to the object.
Thoughts? Thanks.
The only way I know of is to use the Facebook Graph API and have a Facebook website application and use server-side code to directly re-post comments from your website to the facebook page on an existing Facebook object. It is much more in-depth than the simple Open Graph implementation. But if you don't want to use Facebook's comment module, I don't see any other option. This is a link to the area of making comments, http://developers.facebook.com/docs/reference/api/Comment/ , but this is only useful after you have everything else set up. This is a huge undertaking to get your website to this point, but you will have full control over every aspect of how you interact with Facebook, cause you write your own code. Here is a link to the top level of the FB Graph API so you can read more about it. http://developers.facebook.com/docs/reference/api/
Nick - www.meltedjoystick.com
I've created a facebook software that allow a web application (tomcat) to publish a post in my wall.
I used facebook-java-api-3.0.2 library and for make this operation FacebookJsonRestClient.stream_publish() method.
In the posts are present message, caption, link and photo.
When I make it I see all correctly, but my friends don't see it in my wall.
I should also want publish this post with Share button (now there isn't) and publish the post in the wall of my friends (now this doesn't happen).
Rest API is being deprecated, I would highly suggest you build your solution using the latest APIs. See: https://developers.facebook.com/docs/reference/api/
My application has obtained publish_stream permissions for a Facebook user.
I'd like to allow the user to post comments for a target URL directly from my mobile application, rather than opening up an embedded browser that then shows the Comment Box plugin. That is, the user doesn't necessarily want to post the link to their feed -- rather they want to participate in any Facebook comment discussion that surrounds that URL.
Naturally, I can read the comments for any URL via the Graph API (eg: a techcrunch article) but I do not know how, or if I can add comments to an arbitrary URL programmatically.
Would love to hear any other suggestions or workarounds as well. My hope is to piggy back on Facebook comments to allow my users to have a conversation surrounding URLs of interest to them. If at all possible, I'd also prefer to use Facebook, though I can see using Disqus or similar services would be another possibility.
Use graph api, demo comments here
make POST to
http://graph.facebook.com/comments/?ids=http://techcrunch.com/2011/07/22/big-surprise-the-ipad-trumps-android-tablets-at-the-office/
with field message and value "yourmessage"
I genuine Facebook API bug.
Cannot comment via Graph API on Comments Plugin (Probably try Legacy API)
Graph API
I'm curious if there is a module or available starting point to solve for the following requirement.
When an administrator writes and publishes a blog post I want the ability to push that post automatically (and optionally) to both Facebook and Twitter with one caveat
I want to be able to customize the Facebook and Twitter post to have custom content and allow for the unique attributes of each channel. Ie have a thumbnail image for the Facebook post, change the title of the Twitter post to include #hashtags and such.
Does anyone know of an existing module or customization that would allow for this or provide a head start on building out this customization?
Well there's the twitter module: http://drupal.org/project/twitter and also the 'Simple Facebook Wall Post': http://drupal.org/project/simple_fbwall. I haven't used either of these myself yet.
Try these for automatic publishing. Make a rule for sending emails.
https://drupal.org/project/facebook_rules
https://drupal.org/project/facebook_page_rules
This module gives a checkbox to tweet automatically.
https://drupal.org/project/twitter
I've successfully posted to a fan page as the actual page via the Graph API.
The problem is that the post says it was posted at "time via application name". Is there any way to hide this, so my post looks exactly as if I typed it directly into Facebook?
I'm building a messaging center that can easily deliver messages on many different channels, Facebook being one of them. Clients probably won't appreciate their Facebook posts linking to my application, nor do I want to set up a new Facebook application for each client.
There is no way to disable this. It is an internal Facebook system and is very deliberate on their part to show users where content comes from and make it easier to report malicious and spammy apps.