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/
Related
I'm working on learning about the Facebook sdk with Android and I wanted to test posting on my own wall, and I read on my app's dashboard page that administrators can test apps fully. My app still doesn't post to my wall though and I feel that it is because it hasn't gone through the approval process (which makes no sense to me because I'm an admin for it).
What gives?
i have already used facebook sdk and i used the request class to do this after login. The solution is here https://developers.facebook.com/docs/reference/android/current/class/Request/
I have just integrated the facebook SDK in android native app, I created a app on facebook dashboard to integrate a facebook SDK in android native app.
I am successfully posted the message on the facebook through my android native app, it shows my app name "Sooligan", when I am clicking on this "Sooligan" it is redirecting to me on page not available.
Please see attached screenshots.
Clicking on Sooligin it is redirected to below page
Guys any way to solve this problem so that it should open any page which I want or anything related to that
Under Basic Info in your app settings on Facebook you will need to set your Canvas URL. When that page is called it will send the variable fb_source which will tell you if it came from the application or your facebook page, etc. You can then choose to redirect it however you want (if you want to).
I solved this simply add the website in the platform also, there I have added my website URL which I want to open for ex : www.google.com
I am integrating new Facebook SDK(3.0.1) in my app.So I am using Facebook code for login but everytime after input credential a "Web page not available" page is shown. Even Sample Application given in facebook SDk is not working and is showing same web page. Somebody help me in finding out the solution. I have gone through this link also,but this solution is not working ---> Facebook integration on Android fbconnect broken link
I had the same issue. The solution is to update your Facebook app to the latest version.
new to phonegap programing development.having one issue that i need to authonticate user via facebook/twitter & if authontication goes true on basis of that need to upload some image to server..i have stuck on this issue..i could found this one facebook sdk for phonegap android.i have downloaded this one plugin https://github.com/davejohnson/phonegap-plugin-facebook-connect but when implemented it just redirects to facebook page to browser,it dosen't opening popup of facebook login page as we can see in native android application...so any guide for that?
Thanks in advance
Aamirkhan i.
We've recently developed an iOS phonegap app. We had to pull a feed from Twitter (to our Grails server component) and elected to use Twitter4J as it simplified the process. Here's a code example on the Twitter4J site focussed particularly on authentication. Hope it helps. Good luck!
When you get redirected to the web page instead of the popup it means that the facebook app is not installed on your phone. This is unfortunately necessary now with the new FB jar.
I need to create an Android application where user will provide the userid and password of the facebook then he will login inside the application.
For this I want to use my own LoginPage.I want to create Loginpage using android layout standard.
I am not able to achieve it in my own way.
Any help will be highly appreciated
This is a good start : http://developers.facebook.com/docs/guides/mobile/android/ and http://developers.facebook.com/docs/reference/androidsdk/authentication/
You can create your own login page using the login activity template provided in the Android SDK. See this link to there website for more information. I used this template myself for an application I am developing and found it very helpful.
However, as far as I understand, if you want Facebook Integration you need to use the proper authentication page. To do this you need to download the Facebook APK. The Facebook developers page details the steps to implement such a login process in Step 6 of their Getting Started with the Facebook SDK for Android site