Facebook share issue in Android - android

I want to fix facebook share in my android app. So I used this http://www.androidhive.info/2012/03/android-facebook-connect-tutorial/ . My problem is, for first time, it worked perfectly. When i reinstall the app again, it won't run perfectly, it shows only first page after i clicking the "Login Facebook" button. please anyone help me on this.

The above tutorial uses facebook old sdk. Please don't refer that. On facebook official site they have proper tutorial with the sample code. It will be more helpful.
start from this link

Related

Facebook Deffered Deep Linking with FB Unity3D SDK setup

so i made a game using Unity 5.2 with integrating FB SDK with it
i already made the app page, and already done integrating it on my android/iOS app, everything done quite well
now i want to use Facebook ads to boost my game even further
i go to this page http://developers.facebook.com/docs/app-ads/sdk , to verify if my game ready for ads setup
and i got this problem :
Problem Image
i honestly don't know anything about defered deep link, i already tried googling and youtube but still found nothing
the documentation on Android : https://developers.facebook.com/docs/reference/android/current/class/AppLinkData/#fetchDeferredAppLinkData
and iOS : https://developers.facebook.com/docs/reference/ios/current/class/FBSDKAppLinkUtility/#fetchDeferredAppLink
didnt help at all,
even when i search about it for FB unity SDK, i only ended up on this documentation page : https://developers.facebook.com/docs/unity/reference/current/FB.GetAppLink
which didn't explain anything about deeplink...
i already made the app.me facebook link for my app, and already use it on share feature on my app, but still it didn't count as defered deep link, which is very confuse me
i stuck here about couple days now, if anyone know regarding this, please enlighten me
thank you in advance :)
** after post it on facebook developer group, it seems no one know either, or didn't bother to help, still stuck till today :(
for android I followed this documentation:
https://developers.facebook.com/docs/applinks/android
and here is for iOS
https://developers.facebook.com/docs/applinks/ios

Facebook SDK - Posting from the android app to Facebook wall

I need to post something from my Android app to the FB's wall. I checked some tutorials online but they are really old... And I also checked the one on facebook developer site but it uses the MainFragment class and so on (I did not use the facebook login button, I made my own one).
Can someone gimme some tips for this "publishing on wall?" Thank you very much guys :D
Checkout Parse SDK for Android
https://parse.com/tutorials/integrating-facebook-in-android

facebook connect with no sdk

I"m trying to implement facebook connect on a WebView. My problem is I couldn't figure out how to implement it.
As per the documentation I called the api as below
window.location.href="https://www.facebook.com/dialog/oauth?client_id=148352165368959&redirect_uri=https://www.facebook.com/connect/login_success.html&response_type=code%20token&scope=email,publish_actions"
It bring up the confirmation window etc etc but I'm not sure how to navigate back to application and how to get the information from the https://www.facebook.com/connect/login_success.html
I've gone through the Bbq plugin but documentation is hard for a newbie like me. Thanks for your time in advance.
can someone atlest point me to a tutorial?
If you wish to integrate Facebook with your Android application then use the Facebook SDK.
SDK- https://github.com/facebook/facebook-android-sdk
Reference- http://developers.facebook.com/android/

How to integrate Twitter follow button in Android?

I am trying to integrate a twitter FOLLOW US button in my android app. So that if user clicks the button, he/she start following my application page on twitter. I downloaded Twitter4J for it. But I am confused how and where to start with. I have seen a lot article on sending a tweet to an account but nobody mentions any thing related to FOLLOW. Can anybody please guide the steps I should follow to create this follow button.
Thanks.
You have to call createFriendship function for this.
For the coding help , Here is help for how to integrate that
Probably duplicating SO Question Android, Twitter, 'FOLLOW US'

Android app facebook integration failure

I have a problem with my app and I don't know if the problem is obvious.
I have managed to post things to my facebook wall using the app I have created for Android.
But when I distribute this app to my testers, they don't get to the login window. The app is terminated before the screen appears.
I have used the tutorial:
http://developers.facebook.com/docs/mobile/android/build/
Can somebody help me. Are some things I can check or is there a more thorough explanation available on the internet?
you need to follow following steps,
1.) go to https://github.com/facebook/facebook-android-sdk/tree/master/examples
2.) download the example named Hackbook.
and execute it , this is working example of facebook integration with android
Here condition is that you must have App ID and App secret.
if is there any problem let me know.

Categories

Resources