Most voted "facebook-javascript-sdk" questions
This is Facebook SDK support via Javascript. According to Facebook, this is a powerful client-side feature set for adding Social Plugins, Facebook Login and Graph API calls.
Learn more…24 questions
Sort by count of
-
2
votes1
answer1757
viewsFB.login and pop-up blocking
I have a usability problem when requesting extra permissions on Facebook. According to Facebook documentation the function FB.login should only be called after a click as most browsers block open…
javascript facebook-graph-api popup facebook-javascript-sdkasked 10 years, 9 months ago Anthony Accioly 20,516 -
2
votes1
answer251
viewsPost in Timeline Facebook
I’m setting up a website where the user can request that content be posted on his timeline without him having to share it. Well I was left with the following doubt, seeing the return of this link:…
-
2
votes1
answer5409
viewsHow to save data coming from the facebook SDK login in the database?
I’m using the facebook api for login, and following the tutorial I have been able to implement, but I still don’t understand how the system works that takes user information. What I need is to save…
-
2
votes0
answers100
viewsCollect email and send via post to php ( Facebook canvas )
I’m making an app that’s right at the beginning, I worked really hard before asking for help here... I need to take the guy’s email and send it to php as a POST... here is the code:…
-
2
votes1
answer3047
viewsLogin with facebook in Facebook
I am logging in fb only with js using facebook sdk. The login part is doing right, but for some reason only returns me name and id. It is not returning e-mail and other attributes I need. My code…
-
2
votes0
answers56
viewsFacebook application shares the link but does not show in the feed
I created an App to share a link using the method feed. Everything worked well but the shared link only appears on my Timeline, does not appear in the news feed, IE, only I can see it. Note: I was…
-
1
votes0
answers322
viewsReceive notification when a facebook comment is made on wordpress
I am creating a wordpress blog and want to make facebook comments made on the post page generate a notification on the page administrator’s facebook page. On an old blog, I used the plugin "Facebook…
-
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, 10 months ago michelmfreitas 619 -
1
votes1
answer2366
viewsHow to create an app on Facebook to share social network posts
I want to put a share option in an application of mine and I noticed that Addthis has an app on Facebook for this type of action but in the post there on the profile of the person is the icon with a…
-
1
votes0
answers369
viewsOpen Facebook in browser
I created an application for Facebook that, briefly, at a certain time it uploads a photo to the visitor’s album, and then use the var janela = window.open({urldafoto}) to open this photo in the…
javascript android facebook facebook-graph-api facebook-javascript-sdkasked 8 years, 9 months ago GilCarvalhoDev 769 -
1
votes1
answer742
viewsFacebook Api with Javascript SDK is only returning name and id
Hello, I’m trying to use the facebook api to login to a certain page , it worked all right , but the return of the data takes only one object with name and id , I read some articles and saw that the…
-
1
votes1
answer845
viewsRun Javascript code by clicking link within DIV
I have this javascript code: <script type="text/javascript"> var domain = '<?=$x['host']?>'; var auto_surf = <?=($site['surf_type'] == 1 ? 0 : 1)?>; var sid =…
-
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
answers26
viewsSharing on Instagram
I was giving a beautiful on the new instagram API https://developers.facebook.com/docs/instagram-api/ and I realized it doesn’t contain some of the resources that I see around. Can anyone tell me…
-
1
votes0
answers38
viewsWhy does variable have same value for different instances?
I have the following code File 1 : var fbuser_firstName; var FB = require('fb'); var User = function (sender) { FB.api('/' + sender, 'get', {access_token: process.env.PAGE_ACCESS_TOKEN}, function…
facebook-graph-api facebook-javascript-sdk node.js facebook-apiasked 8 years, 7 months ago Thiago R. 267 -
0
votes1
answer321
viewsHow to return data from an event via the Graph API
I’m starting to test integrations with Facebook on my site and while trying to return information from an event using the code that is on API documentation I get the following error: code: 104…
-
0
votes1
answer445
viewsSet text in facebook API sharing
I have a script to share content on Facebook is working well just wanted to add a text that the system generates automatically by clicking the share button. Example: I wish where it says Diz algo…
-
0
votes1
answer657
viewsCreate audio file from URL
I need the messenger audio file to use in the Google Cloud Speech API. When an audio is received in the messenger, a url is generated that downloads that file into . mp4. How can I from that url…
-
0
votes1
answer24
viewsTrusted credentials with Facebook Javascript SDK
I have a web system in which captures the id of the Facebook user and stores it in the database for later use, currently I make the call via the SDK and the command by hidden field (low security…
-
0
votes0
answers29
viewsProblem with Ionic faceboo login
I am developing an integration for a mobile application with facebook and my problem is identical to this topic: /questions/206699/facebook-login-com-ionic#= Someone’s been through a similar…
-
0
votes0
answers277
viewsHow to open the Messenger Customer Chat Plugin from another Facebook button?
I’m implementing the Facebook Chat plugin on a website, where it renders an iframe on the page. I wonder if it is possible to use a button of my page to do the same action of the button that opens…
-
0
votes1
answer263
viewsLink does not exist or invalid, Facebook ADS API / creating Javascript ad
I’m creating the creative ad like this: FB.api(act_xxxxxxx + '/adcreatives', 'POST', { name: vlName, title: vlTitle, body: vlBody, image_url: vlImage_url, object_id: vlObject_id }, function…
-
0
votes0
answers46
viewsFacebook Login Api does not return email even requesting field
My facebook api is not returning email field. I saw in a forum post giving the solution to this problem, requesting the field in the api, but I did it and it does not work. Login with facebook api…
-
-1
votes1
answer25
viewsHow to see if a user likes my javascript page or not?
I was impressed not to find this question in similar questions. The fact, however, is that I have already found this question several times in English on this site, and none of the solutions…
facebook-javascript-sdkasked 4 years, 9 months ago Tulio Rubim 1