Most voted "facebook-sdk" questions
The Facebook Platform allows developers to integrate their apps directly into their social network service. Use this tag for questions that may arise when developing using the Facebook SDK.
Learn more…46 questions
Sort by count of
-
22
votes1
answer311
viewsClick on Loginbutton facebook on android using Xamarin with Facebooksdk nothing happens
I’m using Xamarin to try to log in with facebook, I already generated the Hash and appid. ( Apparently correct, because previously the app returned me an msg saying that the HASH was invalid ).…
-
10
votes0
answers558
viewsFacebook Login button has no action
I’m testing the Facebook Login API, but by clicking the button Log in with Facebook nothing happens, only the bar where it has the time turns black for a moment and then comes back with the color of…
java android facebook facebook-sdk facebook-apiasked 8 years, 11 months ago Giancarlo Abel Giulian 3,999 -
4
votes1
answer239
viewsCatch Cover Facebook API SDK JS
I’m trying to get the Facebook cover of the logged-in user, but I’m not succeeding. FB.login(function(response){ if(response.authResponse){ FB.api('/me', function(fb){ var email = fb.email; var nasc…
-
4
votes2
answers789
viewsCall Activity after Facebook login
I’m new in the world Android and I’m in need of some help. I can’t make the call to a new Activity after the facebook login. The login is running correctly and when it is successfully performed, it…
-
3
votes0
answers66
viewsPHP: Facebook lets me post to my feed but other users can’t get to theirs
I am creating a system of posts on facebook. I created an application and put as public. Through the application I ask for the following permissions: publish_actions manage_pages publish_pages…
-
3
votes1
answer591
viewsFacebook Logout - How to Deploy the Facebook Person
The login part is OK. I had to add a "You are not x? Click here to login with another account" which calls the following function: function deslogarFacebook(){ FB.logout(function (response){…
-
2
votes1
answer58
viewsPost my app result on Facebook
Good afternoon... my app is to follow soccer game... containing number of goals, which teams.... and when you click to save it shows to me time1 X time2 = 2 x 0 (example) and wanted to share on…
-
2
votes1
answer197
viewsIs it possible to create a facebook event through the Graph API?
I tried to search some places, but unsuccessful or the content is old. Here is the question: I am developing an app and would like to know if it is possible to create a facebook event through Graph…
-
1
votes0
answers49
viewsWhy does the facebook photo album return an empty array?
I’m using Facebook SDK with Laravel 4. I need to return the images of any user who logs in via Facebook. When I use the user, who is the administrator of the APP on Facebook, the images and albums…
-
1
votes0
answers67
viewsChange Facebook cover periodically
I need to create a "Health Campaigns" app for Facebook. This application would have to change the cover of all users who added this application, every month, IE, will have one campaign per month. I…
-
1
votes0
answers72
viewsLogin with Facebook on Android App
Good afternoon guys, I’m developing an application that requires logging in with facebook. But there is one detail: I need the support in the application for the android sdk in the 3.0 minino which…
-
1
votes0
answers100
viewsAuthentication on Facebook with Javascript
Hi, I’m having a little trouble studying Facebook Login by JS. Testing the permissions, I went to my Facebook profile and withdrew the permission 'user_friends'. When entering the page again, it…
javascript facebook-graph-api facebook-javascript-sdk facebook-sdkasked 8 years, 9 months ago michelmfreitas 619 -
1
votes1
answer187
viewsUndefined variable although it is defined
I have the following code: <!DOCTYPE HTML> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Oi</title> </head> <body> <?php…
-
1
votes1
answer86
viewsSave Facebook Image to Database
Guys, I know it’s very simple, but I’m struggling. I’ve seen some topics here, but for me it’s still not clear how to do. I need to save the Facebook image in the database by doing upload from her…
-
1
votes1
answer73
viewsAuthentication of Facebook
I’m creating an API and I’m trying to implement authentication with Faceboook. Here’s the scenario, there are 2 environments front-end and the back-end, both are in different domains. Ex: Front:…
-
1
votes1
answer46
viewsSaving users in BD
Good morning. I have a login and registration system via PHP, with Mysql database. In this database I have a table with login, password, name and other user details. When implementing Facebook…
-
1
votes2
answers63
viewsConflict when using Gson + Facebook API
Talk guys, all right? Someone there has used the Gson library in the same project where the Facebook SDK was used? The problem happened when I used the Facebook SDK to allow logging into the…
-
1
votes0
answers162
viewsfb_exchange_token Parameter not specified facebook login
My login system with facebook works only and only the first time the user logs in with facebook. as soon as I log out/ restart the browser I encounter an error fb_exchange_token Parameter not…
-
1
votes0
answers737
viewsFacebook Api: How to get a page feed using PHP?
I’m trying to pull the posts from a facebook page and display them on a website, what I need mainly is the photo and caption of each post. I’m using the following code: <?php require_once __DIR__…
php facebook facebook-graph-api facebook-sdk facebook-apiasked 8 years, 1 month ago Felipe Correia 71 -
1
votes0
answers36
viewsApi Facebook live streaming
Has anyone ever needed to pick up a List of countries to send a POST with Geoblock using the Facebook API to connect a live? I’m linking my leads for a service, now I need to determine for it the…
-
1
votes1
answer707
viewsHow do I publish to a Facebook page using the PHP SDK (5.0)?
I’m developing an application to schedule hourly posts for my Facebook page, I can already log the user get User Access ID Token and everything else, I have the necessary permissions in the Facebook…
-
1
votes2
answers80
viewsError getting photo from facebook friend via PHP SDK
I’m using the Facebook SDK API to work with facebook. The SDK version I’m using is 2.8. I’m pulling up the list of my friends' Ids and I can successfully get. What I need now is to get a picture of…
php codeigniter facebook facebook-graph-api facebook-sdkasked 7 years, 11 months ago Alisson Acioli 5,815 -
1
votes0
answers69
viewsHow to mention a Facebook page or profile with PHP SDK?
How to mention a Facebook page or profile when publishing via SDK PHP 5.0? When posting an image like my page I would like to mark her own profile in the image description, something like "Like:…
-
1
votes0
answers663
viewsLogin problems using facebook sdk
I use the default facebook login sdk, where the documentation can be accessed here. (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js =…
-
1
votes1
answer730
viewsURL has been identified as malicious and/or abusive Facebook API
I’m creating a Facebook login api and it’s on a recently created test server. Less than 2 weeks and when filling the domain facebook returned the message: This URL has been identified as malicious…
facebook-sdkasked 7 years, 6 months ago Anderzilla 11 -
1
votes0
answers224
viewsHow to use facebook Graph api to send messages to another user’s messenger
I have a native app that contains a chat. When the user of my application sends a message I want that message to be sent to a user through Facebook Messenger, without my user needing to use…
-
1
votes0
answers88
viewsDifference in the number of event shoots between Android and iOS on Facebook SDK
I have Facebook SDK 7.0.0 installed in my application React Native 0.62.2 and although it is running equally, in Facebook manager Events, Android shots do not appear for certain standard events…
-
1
votes0
answers1325
viewsError loading facebook PHP SDK URL when logging in
My login function is thus on Laravel public function loginFacebook(){ $fb = new Facebook([ 'app_id' => 'xxxxxxxxxxxxxxx', 'app_secret' => 'xxxxxxxxxxxxxxxxxxxxxxxx', 'default_graph_version'…
php laravel facebook facebook-graph-api facebook-sdkasked 5 years, 10 months ago Tiago Ferezin 1,567 -
1
votes1
answer34
viewsInstant Article Builder - How to select two areas/elements with content for the article?
My page has the abstract of the matter and the content in separate elements, I would need to show both in the Article-Instant, but I cannot change the HTML structure of the page.…
-
0
votes0
answers52
viewsError when sharing android app by facebook sdk
I want to share the link of my android app by facebook using facebook sdk with a Sharebutton the facebook application starts but soon closes and launches the following error. I/ERROR:: Failed to get…
-
0
votes1
answer251
viewsFacebook SDK 7.3 login system with Unity 5.3
I am implementing the Facebook SDK in my game created in Unity and I am having many problems. I tried to implement the Facebook login system: FB.LogInWithReadPermissions(new List<string>() {…
-
0
votes1
answer230
viewsFacebook Login with REST API
I integrated an Android app with Facebook and can already login there. Now, I have to integrate that Facebook login with the authentication part of my API. For example, now, what I can do is log in…
-
0
votes0
answers100
viewsHow to get data from a facebook profile via php SDK
I need to make an application whose goal is to get data from my facebook profile. I need to get for example the name of the photo galleries etc. To simplify I tried to get the name through the php…
-
0
votes1
answer85
viewsHow to share a text on facebook without having the app installed on Android?
I need to share a text and an image on facebook. On the net there are many tutorials that need to have the facebook app installed. Does anyone have any tutorial on how to do this without having…
-
0
votes0
answers880
viewscheck-in with api facebook com php sdk
I wonder if anyone has managed to implement facebook check-in in a php system. <?php header("Content-type: text/html; charset=UTF-8"); // datetimezone…
-
0
votes1
answer93
viewsGet page information without being logged in to facebook, only by token
I’m creating a Facebook posting system and it’s all right, except for one thing. When I drop Facebook by the system I’m doing, some functions don’t work, no matter how much I pass the access token…
php codeigniter facebook facebook-graph-api facebook-sdkasked 7 years, 8 months ago Alisson Acioli 5,815 -
0
votes2
answers84
viewsError saving Facebook profile image via PHP SDK
Good afternoon! I am using the Facebook SDK to login to my site, I can return the data, including the link of the profile photo, but I can’t save the image, the following error occurs: PHP Error was…
-
0
votes0
answers44
viewsLogin Facekook - PHP
I believe everything is right in the App settings, someone has already gone through it and managed to resolve ? In my settings it’s like this…
-
0
votes1
answer82
viewsI can’t use Loginbutton from Facebook SDK
Every time I try to insert it the application compiles but does not run, closes automatically with the following exception` java.lang.RuntimeException: Unable to start activity…
-
0
votes0
answers11
viewsFacebook Conversion API CAPI
Could someone tell me how to get the events from the server side? I only have simple html pages that I would like to pick up events but I only get from the browser but I need to receive from the…
-
0
votes1
answer153
viewsCollecting Facebook Data with a Boot Share
Good afternoon! I am doing my TCC and need urgent help! Please! Next... I’m making my app that at the end of the application the user can share, if you want through a shareDialog of the face...…
-
0
votes0
answers673
viewsSharing Facebook API
I have a responsive system, where I created a webview for android and Ios with this system to use it as an application. So far ok. So I implemented a Facebook share button as per Facebook…
javascript mobile facebook-graph-api facebook-sdk facebook-apiasked 6 years, 8 months ago Gabriel 355 -
0
votes1
answer29
viewsReading Json PHP
I’m starting to develop in PHP, and I’m having a hard time reading the return of a Json; This excerpt, I managed to perform the reading: "cost_per_action_type": [ { "action_type": "comment",…
-
0
votes0
answers51
viewsFacebook Graph API - different values for actions between Facebook and API
I’m using the Facebook API (Ads Insights) to return campaign actions. But the value returned by the API does not match any value shown in the Facebook post itself My Request in Javascript var d =…
php javascript facebook facebook-graph-api facebook-sdkasked 6 years, 3 months ago Leonardo Bosquett 1,440 -
-1
votes1
answer329
viewsFacebook Api does not receive Email permission
Hello, I have a serious problem with the Facebook API, I have been trying to get the email to my Oauth system, but the api returned null, making the debug process discovered that in fact the APP is…
-
-1
votes1
answer55
viewsIs it possible to post on facebook through my system?
Hello, the doubt is simple, I want to make an integration of my system with facebook. I would like to know the steps necessary for me to be able to post on my system and automatically it generates a…