I should want to publish post from by java web application (tomcat) - facebook

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/

Related

Get Facebook wall data to web portal

I have web portal. I need to somehow get all Facebook wall posts from just one specific user or group( that represents my web portal). I need to have wall posts available on my web portal for further processing.
I will be also needing an option for posting messages from web portal to FB user/group wall.
I haven`t worked with FB API until now, so any materials, tutorials that can lead me in right direction would be of great help.
Can this be done without creating Facebook application?
Thank you
No,
Facebook just like that does not share its user information.
you will have to create an app on facebook to authorize urself,and on your web portal you will have to sek users permission before getting any user info.
craete facebook app here https://developers.facebook.com/apps
You can choose between javascript sdk and graph api on how you want to get user data.
You can use publish_stream permisiion to get the post on user wall.
Can this be done without creating Facebook application?
NO
Tutorials and materials:
Graph API
Samples & How-Tos
Google, but I would be careful here. Try to search for updated tutorials (written or updated on 2011)
I used this http://neosmart.de/social-media/facebook-wall its fb.wall plugin into jQuery .js library. It easy and can be edited symply via CSS

Programmatically posting Facebook comments

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

Pushing Blog Post to Twitter & Facebook (with Customization)

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

facebook wall post from wordpress

How to post on facebook account wall when any blog post made from wordpress.
I allready tried with various wordpress plugin like "wordbook", "wordbooker" etc but none of them working fine........ any idea or alternative way?
Use the Twitter Tools plugin and then link your twitter account to your Facebook account. I use it all the time, plus you get the added benefit of Twitter.
I'm writing a plugin for that matter, you can check out the development version right over here: http://kovshenin.com/public/facebook-feeder-alpha.tar.gz
It doesn't have a funky user interface, but it does post stuff to Facebook assuming you have a facebook developer account and a facebook app registered. Look at the posts on my Facebook profile: http://facebook.com/kovshenin (ones marked via kovshenin.com) - they're generated via this plugins.
P.S. It doesn't to that automatically, but you can send it to FB when the post is published. Shouldn't require much time to automate it, but I'd like to customize things before sending anything anywhere.
Hope this helps. Cheers.
P.S. PHP programming skills required to use this plugin.

How to publish message on Facebook fan/business page?

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.