Sharing With Twitter and Facebook Using External Application - facebook

I would like to share some text and an image from my web application to a user of my web application's facebook and twitter pages. What is the best approach to do this? So I need to have my user authenticate facebook and twitter and then user the twitter and facebook apis to update? I wasn't sure if they was an easier way...I would prefere a java server or javascript solution.

https://developers.facebook.com/docs/reference/dialogs/feed/ seems to be the right fit for facebook.

Related

How to configure Facebook + Oauth module in drupal 7

I am looking for a way to configure Facebook + Oauth module in Drupal 7, as i am working to allow users to log-in into my site using their Facebook user/pass and at the same time i would like to save their Facebook details in my Database. I have been looking for a tutorial or a step by step process to configure these modules.
Please help me. Once i manage to do this, i am going to create article explaining this process.
Thanks in advance.
You are looking for the module http://drupal.org/project/fb
This set of modules turns Drupal into a platform for developing
Facebook Applications. This allows you to embed your content and
features within facebook, or allow facebook users onto your site via
Facebook Connect.
With Drupal for Facebook, you can harness all the power of Drupal in
you Facebook App. If you already have content in Drupal, you can
expose it on Facebook.
Hope this module will full fill all your needs.
I've made several sites with that kind of functionality, and I always end up using the Facebook Oauth module instead of Drupal for Facebook:
http://drupal.org/project/fboauth
The FB OAuth module allows you to integrate Facebook login so much more quickly and easily than Drupal for Facebook. Also, you can map users' fields to Facebook data sources - which probably fits your intended use of their Facebook details.

How to post in facebook fanpage automatically from my website?

How to post in facebook fanpage automatically from my website ?
for example when i update new post in my website and i need to post in facebook fan page automatically....
I believe Facebook offers a certain number of APIs which would allow you to integrate Facebook into your own website to some degree; you can always try their dev centre.As far as I know, however, you can only post to Facebook through social networks like Twitter (see: linking a Twitter account to Facebook), or through Facebook apps you've developed yourself.
You need to create facebook app and use the app secret key and and API key in facebook SDK
script for automatic posting. for more details click the following link. I think this may help you. http://www.damnsemicolon.com/php/auto-post-facebook-with-facebook-sdk

How can i create social reader application in facebook?

i want to create social reader facebook application something like as washington post social reader. but i have no idea about its login and how it work. i have one site which contain daily news updates. so i want social reader application, so if user read ant news from my site then it publish on facebook timeline.
Thank you in advance.
first you need to create a facebook application:
http://developers.facebook.com/docs/guides/canvas/
http://developers.facebook.com/docs/appsonfacebook/tutorial/
Canvas applications are basicly iframe pages. Mean the main page is hosted in your own website.
then you should read: https://developers.facebook.com/docs/opengraph/keyconcepts/ to learn what is action and how to use it.
I suggest you to find a facebook api to handle most of the auth. and background stuff.
You need to create a web page for your content and ask for necessary permissions (like publish_stream, publish_actions, email etc) and after that step you can post "x reads y" type actions to users wall.

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

Share a link on FaceBook without creating a facebook app

From my iPhone app I would like to share a link on Facebook. I know that this can be done by creating an app in the facebook and use the id/key of that Facebook app.
Is there any other way for sharing a link in FB, like the AddThis library for webapps. So that I neednot create an app in the facebook
AddThis has iOS Sdk now : http://www.addthis.com/help/ios-overview
Not that I know of. AFAIK, the best & easiest way to do this is w a Facebook app. User authentication (through a Facebook app) is required in order to post anything to a wall; anonymous wall posts are not allowed. It's really easy to create a Facebook app. Then, check out the facebook-ios-sdk.
Unfortunately you cannot have anonymous wall posts to facebook, so I would recommend using the sdk, if you only need to post to walls, take a look at www.getsharekit.com which will make this trivial to do