Questions tagged [facebook-sdk-4.0]

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches: - Facebook C#/.Net SDK 4.0 - Facebook PHP SDK 4.0 Use apt tag among two.

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches:

  • Facebook C#/.Net SDK 4.0
  • Facebook PHP SDK 4.0

Use apt tag among two.

1172 questions
5
votes
2 answers

Facebook Native Share Dialog in swift

I am trying to create share button which will share a link on Facebook. The problem is that I do not want to have a login button before share button in my app, I just need to have a share button. I think one solution may be to use custom buttons…
Ilir V. Gruda
  • 1,562
  • 5
  • 17
  • 23
5
votes
1 answer

Android. Send text to facebook messenger by Facebook SDK 4.X

As document from facebook, we can send image from android app to facebook messenger like below. String metadata = "{ \"image\" : \"trees\" }"; ShareToMessengerParams shareToMessengerParams = ShareToMessengerParams.newBuilder(contentUri,…
5
votes
2 answers

save info about facebook user to use in another Activity

I'm working on project to my university, and I would like to know how save some information about facebook user like name, e-mail and picture. Then how I can use this information in another Activity? As you can see my code i can show info in the…
Miguel Lemos
  • 80
  • 2
  • 9
5
votes
4 answers

Get profile data from Facebook SDK on Android always return Null. Why?

i just learned about facebook SDK on android. I already search on stackoverflow and facebook developer guide for login, but i still stuck when get profile data from facebook sdk. i try implement solution from : unable get profile and Get email, but…
5
votes
4 answers

Can not import facebook-sdk 4.0.1

I have android studio 1.1.0 and i just created a new project and i'm trying to import new facebook-sdk 4.0.1 but can not do this, I followed Facebook Getting Started But can not get it work. My app structure My build.gradle(Project:…
Ibrahim Disouki
  • 2,642
  • 4
  • 21
  • 52
5
votes
2 answers

AppInviteDialog not working in Android Facebook SDK 4.0

After long research and trying to fix this on my own, I haven't found any acceptable working result. Following this documentation I'm trying to invite friends to my app. All elements, such as share buttons are working properly. The only problem are…
VadymVL
  • 5,366
  • 3
  • 26
  • 41
5
votes
2 answers

Unable to add com.facebook.share.widget.Sharebutton to Layout XML

I am trying to use Facebook SDK in Android to Share Content Direction from my app. I'm using the following code from here on Facebook Docs: ShareLinkContent content = new ShareLinkContent.Builder() …
user1406716
  • 9,565
  • 22
  • 96
  • 151
5
votes
5 answers

Android facebook 4.0.0 share dialog does not share the content

For hours I have been trying to share a content in my android app by facebook 4.0.0 sdk. I exactly followed facebook share document but got no result. Share dialog open when I press share button but no content is in it. If I click ok it share an…
5
votes
3 answers

How to extend facebook access token in python

I am using the Python facebook-sdk client library. I currently have a short-lived access token obtained from https://developers.facebook.com/tools/accesstoken/ that I copy the code from the site into my code for authentication. graph =…
kyrenia
  • 5,431
  • 9
  • 63
  • 93
5
votes
2 answers

how to publish post on facebook page wall as admin using facebook php sdk v4 and graph api 2.x

how to publish post on Facebook page wall as page admin user using facebook php sdk v4 and graph api 2.x? I have spent lot of hours but mostly articles are old(examples with old Facebook PHP SDK) and bit confusing I have figured out following…
Ali
  • 3,545
  • 11
  • 44
  • 63
4
votes
0 answers

Facebook Share Dialog does not show the"tap To Change account" in Android

I am using Facebook Sdk 4.38.0. I followed this document: Facebook Sharing on Android I want to create an app that allows user to select one page from the all of his Facebook pages to share content, such as the public page or business page. When run…
4
votes
0 answers

What should be used as an event parameter with FBSDKAppEventParameterNameOrderID key in Facebook Analytics SDK?

FBSDKAppEventParameterNameOrderID is name for event parameter for both FBSDKAppEventNameSubscribe and FBSDKAppEventNameStartTrial events. Official documentation contains the following description for it. /** Parameter key used to specify the unique…
Pavel Osipov
  • 2,067
  • 1
  • 19
  • 27
4
votes
1 answer

Could not build module 'FBSDKShareKit'

I'm upgrading some pods, namely to support ParseLiveQuery. I'm now running into an error in one of my header files Could not build module 'FBSDKShareKit' Also in my errors: Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios,…
Zack Shapiro
  • 6,648
  • 17
  • 83
  • 151
4
votes
1 answer

Share dialog isn't working with Facebook app [android]

I'm using share dialog to share a link onto the user's timeline but it's not working while the Facebook app is installed. It is functioning properly using the default browser (when the app is uninstalled). Note that FB login is working both with and…
SBan
  • 43
  • 1
  • 7
4
votes
1 answer

How to handling login redirects back to app from multiple social login accounts swift?

I am making an app that allows user to login from different platforms such as google, Facebook , twitter etc. In the App delegate we have to implement a function application:openURL:options: for each of the platforms. Currently my function looks…