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.
Related
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
I am going to integrate "facebook sharing" into an app. Basically a timeline post with a link and an image and text.
What is the difference between an elaborate Facebook 3.0 integration vs using the Android OS' share intent with certain parameters, where the latter allows users to choose between apps such as Facebook and it just works if the app is configured to use that intent.
The only difference will be a one line of code that will work with thousands of different app (and other social network) Vs bloating your app with Facebook SDK, hours of work, pain, bug for a less clean result.
;-)
Edit:
The Android Intent will also allow people to share on Twitter, Google Plus, and other websites if they don't like Facebook.
See this Facebook bug report, I guess you have to do it with the Facebook SDK.
Since they only allow posting a link with the share intent.
Salam every body
I want to develop a project that allow to user to view latest picture uploaded in a certain pages
i'm new in facebook android sdk and i don't know what is the first step to do
can you give some directives to start this project?
best wishes.
I always recommend that developers who are looking to integrate Facebook into their apps to start with our documentation. This tutorial on our developers page walks you through a sample app that gets you started with our most basic SDK functionalities such as logging in via Facebook, uploading a picture, and grabbing the user's profile picture for example. Once you go through that, you should be well-versed enough to learn how to extend the SDK functionalities to do what you want.
This community is also very helpful when you have questions (but you have to provide context, sample code, and very thorough description of the problem you're facing).
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.