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
Related
I have a big problem with android native Facebook app with webview browser.
When I'm trying to click on mine CTA Facebook login button (own website) - nothing will happened.
There's problem with android webview, which can't open facebook modal login window.
I tried to use target="_blank" to open new window, but thats not right way.
Is there any solution to fix it?
Thanks so much,
Jacob.
It's simple easy solution to fix it. You must have a special own OauthServer to comunicate with api, and then sent to app its credentials.
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/
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 want to put in may application a button which will give a possibility for the user to input some message and post it on his wall. My question is, how to implement this scenario:
User enters message and clicks Share button.
If Native FaceBook app is present on the device, it is fired in order to post this message, or to login first and give permissions.
If Native FaceBook app is NOT present on the device, web browser is fired and redirected to facebook page in order to login and post a message. (Or popup with WebView instead of web browser app)
this is the sample project link https://github.com/facebook/facebook-android-sdk
and the tutorial link is : http://blog.doityourselfandroid.com/2011/02/28/30-minute-guide-integrating-facebook-android-application/
I have my android app and I would like next:
When somebody press the button on my application it will load the Facebook application with my facebook page.
Is there a chance to open a my facebook page in the official Facebook app from my app code?
I do not want to give access to my page to all who have the application but only download them my facebook page like for visitors
Well, I personally would use Intent to start up the FB app by typing the package name. like com.facebook.home or whatever activities FB app got
//Simon
It looks like you should be able to set the mime type of the Intent to vnd.android.cursor.item/vnd.facebook.profile (using intent.setType("vnd.android.cursor.item/vnd.facebook.profile");