Facebook Sharing with new facebook sdk 3.5 android - android

what I need to do is to allow my facebook application to share data on user wall but without asking the user of his credentials but using the session that he is already open in his installed facebook application, I have searched a lot and I didn't find anything to help me, please anyone can help please
please you will find the example on that link
https://app.box.com/s/va06jtp1e6nqet6qbdjr

Related

How we can open instagram app while login integration in android

I'm facing one problem.I need to login with instagram and i have followed method and it work fine but I need to login time it show in dialog or redirect to browser because instagram provide us api's (api.instagram) like this for its authentication.
But i want to know is there any way to login with instragram like facebook integration or and any other.
can we fetch user userinfo from app ? If app is not installed then application redirect to browser otherwise it redirect to app for get user info for login.
anybody any have idea about this, please read patiently and give me answer.I'll appreciate your answer thanks

confused with android facebook sdk integration.Cannot work out

I am facing problems in implementing facebook sdk 3.0 to my android app.I have read tons of tutorials and samples .But cannot work it out.
I have also read documentation on facebook developers.
But how should i log out of facebook account and how to send a post to the facebook account which is login.
I have setup the facebook sdk to my android app perfectly. I am facing problem with further code and steps.Can anyone share the code with me regarding login, logout, sending a post to facebook account.
I am stuck to this step for very very long time..
Any help will be appreciated.Thanks in advance.
I'm not sure if you had read and follow this tutorial but it is basically what you need for SDK3.0. It is well structured and easy to follow tutorial.
https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/. Just a personal note, just don't skip any step and pay attention to Step 4. Run the Samples, where you need to create Key hash. Hope that helps.
with thise line you can share with other apps installed on the device
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(Intent.EXTRA_TEXT,"body text");
those links may help you with the share.
Share Text on Facebook from Android App via ACTION_SEND
http://mobile.tutsplus.com/tutorials/android/android-sdk-implement-a-share-intent/

Android Facebook SDK 3.0 Integration with application to Post on Wall

In Android project trying to have a button to post on wall in facebook by user. When that button is clicked need to check whether user is already logged in using other facebook app if so i need to open Post On Wall Dialog with prefilled data to be shared. Please direct me in this to achieve.
I tried following this tutorial http://www.integratingstuff.com/2010/10/14/integrating-facebook-into-an-android-application/
but after asking for user credentials in a webview the page navigates to main activity instead of opening the post on wall dialog. Thanks in advance.
Have you tried using the Facebook SDK website? Try looking at the below two links on the Facebook SDK website:
How to log in:
http://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/
How to publish to a feed:
http://developers.facebook.com/docs/howtos/androidsdk/3.0/publish-to-feed/
There is also an example application provided with the Facebook SDK 3.0 which can be loaded into eclpise and onto a device for you to better understand how it works (need to add your own APP key of course). There is also the Scrumptious Tutorial on the Facebook SDK site that can run you through everything.
Found here:
http://developers.facebook.com/docs/tutorials/androidsdk/3.0/scrumptious/

fetch user's facebook url with the facebook login ids

I am developing an android application which allow user to add their facebook page url by providing their facebook log in details, since I am new to android and have no idea how to do this, any help will be greatly appreciated. some code will be even better, thanks!

How to share data in facebook

How to share data in Facebook through android application. is that any Intent call used to share our data in Facebook. I searched in google but i dint get any proper guidance. if anyone did this issue pls guide me.
for share data on facebook you need to use facebook API
for facebook API follow this link n go step by step

Categories

Resources