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.
Related
I have some issue with ionic and facebook for displaying a post with the facebook iFrame. It bothers me a little because this method was working 2 months ago and now it seems that it has changed.
I have followed the method provided by Facebook Developers at this link.
The post display very well on a browser but not on a real device. However, I don't have any console error while making request on the phone. Just an iFrame saying the post doesn't exist (It is the one of the example given by Facebook).
I have already install the cordova whitelist plugin for the allow-origins problem.
I really don't see what has changed since the last time. Did facebook made a change in their plugins ? Or am I forgetting something on the device side ?
Thanks for your advice.
i think as it says in the facebook developers faqs
for the web simple copy paste works but for ios/android you have to register for a developer's account and register an app as well
this guide might also be of help
https://ionicframework.com/docs/native/facebook
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
I'm getting confused trying to use the Facebook SDK. A few points where things are beyond my understanding are:
How does the Facebook SDK work in a larger sense (ie. work flow)?
What is the use of facebook.apk if it does not make any difference whether its installed on the device or not?
Any help as to links of blogs would be great!
Assuming you've already completed the Facebook SDK tutorial on native development with Android, I'd start with the following link that provides a 30 minute tutorial on adding Facebook integration to your Android application step by step.
As for the reason you're installing the Facebook.apk, check out section 6.3 of the Facebook tutorial where it states:
Your app will still work without installing this image, but we will default to using Platform Dialogs for sign-in rather than using the Facebook App requiring user to sign-in every time you run your app in the emulator.
So, if you don't install the Facebook.apk, your users would have to sign-in each and every time you run your application. Essentially, it provides additional functionality for you!
Hope that helps.
I am planing to build an android app, which will have user posted content and comment on that content. I want to use a ready made solution for the comments, which is also viral.
For example, using Facebook comments for website can do the job. But I am not able to locate such a plugin for Android (java) app.
Is there a way I can do it easily? or should I build my app using phone gap or something like that and use fb comments widget.
Will there be any problem in approval if the app is in phone gap?
Thanks in advance!
#happyhardik This might be just what you're looking for: Socialize. http://www.GetSocialize.com. SDKs for both iOS and Android. Integration with Facebook (and soon Twitter). Let me know if it's what you wanted!
I am building an android application and I am stuck at one place. I have integrated Twitter in my app using twitter4j, signpost apis. I am successful in writing code for putting text in user profile but I also want the user to follow my app when they click 'follow us on twitter' button.
Can anybody give me reference or guidance of writing such code?
What you are probably looking for is createFriendship()
You can see how it is used here
2016 Edit: Google code svn is broken and twitter 4j has moved
http://twitter4j.org/en/api-support.html