Good day to all,
Can some one guide me in displaying a simple post from facebook application in webview in android application. When i post a message in FB, i need to show that message in my new feeds in emulator for android. I am able to post the message, But i need to display the posted message in the emulator screen. How can i do that. I have done with the facebook login screen, Authentication code. I am struck with displaying new feeds in native FB manner.
Any working example will be fine please send me the link.
This is a very good tutorial, and should answer your questions on this subject.
Facebook Integration
EDIT:
Here is an excellent facebook API. I use it for many projects. Works incredibly well!
Easy Facebook
Related
I want to get the wall posts on a Facebook page on my Android app and present it (It would be better to present it in the layout similar to official Facebook app for Android).
I have just started using Facebook SDK and am able to log in/out of my profile. I read various stackoverflow posts on this topic but I couldn't get things working with any of them. All I understood is that Graph API can be used to get Facebook page's contents. However, to access Facebook pages, it needs some authorization tokens, which I couldn't really understand. There being no simple actual tutorial on how to do this, it seems complicated to me.
Can anyone please simplify the steps to get the posts from Facebook page and present it in my app? Also, is it possible to get official Facebook App style layout for the presentation of page wall contents inside my app?
Any help would be appreciated.. thanks a lot in advance.. :)
While using the Facebook SDK for Android, I realise Facebook uses their own dialogs with forms so the user can enter their information.
Is there a way to use my own forms and send the data to Facebook to authenticate? Or do I have to use theirs? If so, is that the same case for uploading pictures, posting on your wall, comment, etc.
I'm not sure about uploading pictures, but I ran into the same problem some time before with the forms and after a lot of research reached the conclusion that you have to use their forms. The only application AFAIK that uses custom Facebook login on Android is Facebook for Android (official application).
You might be able to figure out a way by tracing the URL that is being used by Facebook for authentication, but those sorts of hacks won't be reliable as Facebook may change the API on you. It sucks, yeah.
Here is some more information, Stack Overflow question Android -> Facebook login without a dialog?.
I m using share to Facebook using the following url and load that url in web view but i cant able to type comments and also some time post button is also not working.
http://www.facebook.com/sharer.php?u=xxx&t=yyy&refsrc=http://m.facebook.com/sharer.php
Can any one provide good solution or an alternative for this (plz give example for using api for facebook share and wall post).
Thank you.
I have written a quick tutorial about how to integrate official Facebook Android SDK into your Android apps.
Check it out here. I feel it'll help you
I am having social networking application made by me, in which you can post comments, i want to facilitate user to one click share posted commented on user's Facebook as well.
I tried fbconnect-android is there any other way sharing comments on FB?
You now have the official FB SDK for android.
A library to integrate Facebook into your Android mobile application.
I'm learning Android and I'm trying to connect to Twitter and upload a photo in Android. How can I do this?
This question gives you a hint on how to use an Intent to start a Twitter application and use it to to post something. In this way the user don't have to give your program the twitter credentials.
If you want to connect to twitter yourself you can use one of the java twitter apis that are out there.
I hope this is a starting point. If you encounter more specific problems come back and we will be glad to answer them.
For a general howto on Android check out the hello world application and all the other tutorials on the android developer pages.