I have started learning FB integration in android tutorials from the facebook developers site. But what I have observed is that the Pick Friends activity in the provided example projects (Sample Projects Scrumptious and HelloFbSample) doesn't work either in the emulator or the smart phone. Is either anybody experiencing the same problem ?
The Graph API v2.0 shows only friends who are also using your app. See Don't get all friends of facebook in my ios app?
Even though The Facebook Platform v2.0 shows only friends who are also using your app, you still may be able to see the entire list of friends provided:
1) You are using older version of facebook sdk, as I am using 3.5, it's working well for me.
2) You must have registered your app in your facebook developer account before April 2014.
This will work only till April 30, 2015. After that the friends who are using the same app only would be visible.
Reference:
https://developers.facebook.com/docs/apps/upgrading
https://developers.facebook.com/docs/apps/changelog
I have found a few workarounds that will show a users friends, however you cannot interact with them. Like inviting them to your app. Facebook has bascically restricted this kind of behavior to games only but if you read my issue request here on HelloJS you will see i have a few solutions that might help. In no means is this for Java (Android) its for web based/cordova mobile apps not native android (java)
https://github.com/MrSwitch/hello.js/issues/57
Related
Is there any way to customize Unity's Facebook share dialog with title, description and picture?
I am working on a Unity game, targeting iOS and Android. I have installed the Facebook SDK 7.9.0. I am relatively new to Facebook development/implementation but I am quite familiar with the process.
I have search all over the internet for almost a week and I have not being able to find any example that works for me. I have tried everything from using the Unity Facebook SDK FB.ShareLink and FB.FeedShare methods to trying to open a web page with the open graph implementation of facebook share.
I read that these parameters (title, description and picture) where disables from April 2017 (https://developers.facebook.com/docs/sharing/ios/share-button) in the current and older versions of the Graph API, but there has to be a way because I still see some games and applications that have custom Facebook share dialog.
Unfortunately I am not allowed to post code, since I am working for a company.
P.S.: I know this is probably a topic, but most questions related to this topic where posted before the April 2017, so I am expecting more recent feedback.
I am using the socialauth library for integration with android app. The twitter and facebook updates are working correctly...however I am having problems with setting up the linkedin app.
I have determined that there is some problem with my settings of the linkedin app on the developers portal. The examples that come with social auth library works perfectly, the problem is only in my app settings that I've given on Linkedin developer network.
I couldn't find any guide or tutorial for the settings of app. I read the doc that is provided by Linkedin but since I am using a 3rd party library....its of no use because I can't get my head around the settings...
Can someone please help me?
P.S : I can login correctly to the app and authorize the problem is in posting updates.
I am getting a FileNotFoundException: http://api.linkedin.com/v1/people/~/shares
Update: Can anybody give me the settings of Linkedin app that you use for android or iPhone integration??
Please see the following issue reported at socialauth :
http://code.google.com/p/socialauth-android/issues/detail?id=3
The new sdk is going to release in this week which will solve your issue.
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 have seen widgets and apps that show you status updates of your friends on facebook. Does anyone know if it is possible via a custom app to comment or like things from an app or is there no public API for functions of this nature.
Try looking at http://developers.facebook.com and that has all of the API documents you should need (look at Graph API, if that doesn't have it look at the legacy REST API). If there's something missing, request it using the bugzilla on that website.
Joe
Facebook have an SDK for Android, which your app can use to integrate with Facebook, and do the things you're describing
https://github.com/facebook/facebook-android-sdk
I saw some topics here regarding facebook and twitter integration with Android Application.
I need help regarding, is twitter integration with Android App possible in real??
[I need to tweet on user's wall and all]
If i wanted to integrate Facebook with my App then whether i go as per explained in following link(and if this is the recommended way then how to implement this SDK):
http://forum.developers.facebook.net/viewtopic.php?pid=146956
or
else i use Android facebook SDK available here on code.google.com
The official facebook SDK for android is here:
http://github.com/facebook/facebook-android-sdk/
It includes complete examples of use.
I need help regarding, is twitter integration with Android App possible in real?? [I need to tweet on user's wall and all]
In real? Of course! You could be able to tweet on the user's timeline. In this case, use the appropiate authentication methods. There are many ways to do so, this is one of them:
http://www.androidsnippets.org/snippets/24/index.html
You can also use specialized third-party libraries (like twitter4j) to use Twitter from your Android app.