When I show the Share or Send Request dialog from my Unity app on Android, they seem to be cut off at the top.
There is a question about exactly the same issue using the regular (Java) Facebook Android SDK: Dialog on Android KitKat seems to be cut, but all of the solutions there require direct access to the Java classes.
Has anyone seen this issue with the Facebook Unity SDK? Is there a way to fix this, apart from using the Java SDK instead of the Unity SDK?
I'm using Unity 4.6.3 and version 6.2.2 of the SDK.
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 working on a project in Android Studio. I was following a tutorial for Facebook Login for Android (https://developers.facebook.com/docs/facebook-login/android).
And To add the Facebook Login button, first, it had to be added in layout XML file with the full class name, com.facebook.widget.LoginButton. But I can't find it anywhere. I even tried with Double shift shortcut, still no success.
Am I doing something wrong? If yes, please guide me in right direction or if there is another alternative approach to add facebook login button.
Thanks.
Your link is specifically for Andoid platform. You need to login with code and interact with core module using interfacing but this is for Android only.
As we know LibGDX is cross platform game development framework so we have to write facebook specific code on all other platform.
Good news is someone already done for you, you've to use only with Apache License 2.0. Use gdx-facebook, A libGDX extension providing cross-platform support for Facebook Graph API.
LibGdx is cross platform game development platform and all supported platform under libGDX is not supporting .xml file. So you have 2 way:
(1) Using interface you can easily integrate facebook
(2) Use LibGDX's Facebook supported graph API.TomGril-LibGDX - facebook
I'm currently working on an app that requires match data from tinder but I have never worked with API's before and I'm not too sure how it works. I found some projects on github using the tinder api which I will link at the end there are just some parts that confuse me. Firstly all of the files are in python so is there a way I can implement that in a java file in android studio? Also it says that facebook authentication is required for the api to work so would having the user log into the app with facebook solve that issue?
https://github.com/fbessez/Tinder
what does sdk integration mean in android. I searched much about sdk integration but didn't find a easy answer to understand it well.
At first we need to know What is SDK? SDK is a software development kit. There are lots of SDK like Google Map SDK, Facebook SDK, Twitter SDK etc. Now if you want to make a android application which would be able to share something in facebook or twitter, then you must need facebook or twitter SDK for your app . This kind of uses of some other sdk in your app is called Facebook SDK or Twitter SDK Integration with android . For other hand if
you want to make a ios app which would be able to use google map then you need to integrate Google Map SDK with your ios app. This is called SDK integration....That's it. Thank You
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