Questions tagged [facebook-android-sdk]

The Facebook SDK for Android helps Android app developer implement Facebook functionality into their Android apps. Features include Facebook Login, Friend and Place pickers, session management, native object responses from the Graph API and Feed and Requests dialogs.

The Facebook SDK for Android provides Facebook support within Android apps. You can utilize Facebook Native Login, invoke Sharing, Game Requests and App Invites dialogs, and read and write data using the Graph API.

The SDK is open source and is available on GitHub.
The current SDK major version is 4. See the Getting Started guide..

Facebook SDK for Android Documentation

1843 questions
0
votes
1 answer

Upload Image on Facebook using sdk 3.19.0 from android

I am sharing link and Image from URL using this code private UiLifecycleHelper uiHelper String fbPhotoAddress = null; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); uiHelper = new…
0
votes
1 answer

Facebook Integration with Android

For an application I'm working on, I'm trying to implement the facebook sdk to include the option for users to create an account and login, but I'm currently stuck trying to figure out how it's going to work. After the facebook dialog appears, and…
RyanInBinary
  • 1,533
  • 3
  • 19
  • 47
0
votes
0 answers

how I can post "Watching movie" status in facebook wall with opengraph

I'm working android facebook sdk. I learn and I can login. now I want to post watching movie status in my wall. I googled and I found facebook documentation https://developers.facebook.com/docs/reference/opengraph/action-type/video.wants_to_watch/ I…
Beka
  • 341
  • 1
  • 5
  • 10
0
votes
0 answers

Facebook SDK 3.8.0 share dialog: manage the cancellation by the user

I'm developing an application that uses the Facebook share dialog. Here's my dialog implementation: FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(this) .setLink(playStoreLink) …
MikeKeepsOnShine
  • 1,730
  • 4
  • 23
  • 35
0
votes
1 answer

Login via Facebook

I am trying to implement the Facebook login in an Android application, so that the user can login in my application using a Facebook account as well. I have installed a Facebook application and am using facebook-android-sdk-3.19.0. Question I have…
N Sharma
  • 33,489
  • 95
  • 256
  • 444
0
votes
1 answer

How can send invitation to friends in Facebook?

I need to send invitation to my friends in facebook and save in app data about who was invited. I tried to do it by default Facebook dialog like this: WebDialog requestsDialog = ( new WebDialog.RequestsDialogBuilder(activity, …
0
votes
0 answers

Storing social IDs of a user in the database

We are planning to use social logins (like facebook, google, twitter, pinterest, and so on) in our app. What are the rules for storing the facebook IDs (or google, twitter, ...) in our database? Do we need to hash it like passwords? What about the…
0
votes
2 answers

Facebook, hash key generated properly but is being accepted

I am using following command to generate my has key. keytool -exportcert -alias -keystore | "F:\api\openssl\bin\openssl.exe" sha1 -binary | "F:\api\openssl\bin\openssl.exe" base64 both the ALIAS and PATH TO KEYSTORE are…
0
votes
1 answer

Facebook, App Links on Android: not getting the schema (Uri for the App Link's Android URL) on the field 'data' of the Intent

We are developing Facebook AppLinks for Android. We followed all the directives from Facebook Developer page: https://developers.facebook.com/docs/applinks/add-to-content https://developers.facebook.com/docs/applinks/android In our Web page (the…
0
votes
1 answer

Sharing in Android in Facebook SDK. Two apps post messages, but only one remains

I have two apps at my Facebook developer's console. I read the guide and created a Facebook dialog to share some text in each app. But when I post a message from one app and post something else from the other a bit later, the second message replaces…
Maksim Dmitriev
  • 5,985
  • 12
  • 73
  • 138
0
votes
2 answers

How to configure Android in Myeclipse 2014 IDE

How to configure Android in Myeclipse 2014 IDE. I mean how to develop android apps from myeclipse 2014. As recommended I've chosen "Help" on IDE's menu then "install from site" option then added this url…
0
votes
1 answer

Using the Facebook Android sdk, is it possible to retrieve a listing of Events?

I took a look at the api and it appears that I can only pull the events associated with a user. What I would like to do is pull events that may or may not be associated with a user. Is this possible?
Noiroi
  • 27
  • 5
0
votes
0 answers

how to do for make public an app using facebook sdk for android?

This is my code... public class FacebookShare extends FragmentActivity { private static final String TAG = "FacebookShare"; private static final String PERMISSION = "publish_actions"; public static final String PACKAGE =…
0
votes
1 answer

Facebook friend request returns success but with an empy bundle

I'm using this example to try and send a FB friend request to a user of which I know the Facebook ID (I've hard coded my FB id in the app) This is what I'm doing: fbId = "100000265744136"; Bundle params = new Bundle(); …
AndreiBogdan
  • 10,858
  • 13
  • 58
  • 106
0
votes
2 answers

Run Facebook SDK sample apps in Android Studio

Novice question. What is the recommended way to run the sample apps, included in the Facebook SDK, in Android Studio (0.8.6)? The ideal answer would include step-by-step instructions.
Emanuil Rusev
  • 34,563
  • 55
  • 137
  • 201