Most voted "facebook-graph-api" questions
Facebook Graph API is a graphical-db style programming interface for languages such as PHP, Perl, Actionscript, Javascript, etc
Learn more…95 questions
Sort by count of
-
8
votes2
answers4021
viewsCryptography in Javascript
On my site I use the Facebook API, through ACCESS_TOKEN. This 'key' of access to everything that the corresponding application can provide, that is, it is not feasible to leave it public. In view of…
-
6
votes1
answer1338
viewsHow to get phone number via facebook API
I am implementing login via facebook on my site and it seems that it is no longer possible to get the phone number of the user, even with your authorization.…
-
6
votes1
answer7155
viewsHow to show posts from a Facebook Fan Page on a Website
I wonder which Api or Plugin should use to make available on my site the latest posts of my FanPage. Actually I’m still researching to see if what I want to do is possible. What I intend to do is in…
-
5
votes1
answer6160
viewsCapture data from Facebook users
I am trying to collect with JAVASCRIPT/JQUERY some data from specific users that are not part of my friends list. I’d like to capture dice as: likes, friends, posts and groups. I did some tests and…
-
5
votes1
answer115
viewsReturn only albums with at least one photo
I am currently making the following FQL query to return all the logged-in user’s Albums that have at least one photo (with the amount of photos): SELECT object_id, name, photo_count FROM album WHERE…
-
4
votes1
answer265
viewsFilter JSON from Facebook Graph Api Feed
The JSON that the Graph API returns from Feed of a page using the address "Graph.facebook.com/ID/feed? access_token=_ACCESS_TOKEN_" displays the Feed complete, but I just wanted the posts made by…
-
4
votes1
answer737
viewsCan I post on my own facebook using the API?
Can I post on my own facebook using the face SDK? Can I read my feed with an SDK? the question is simple, I want to build my own interface to use my facebook profile the way I wish.
-
4
votes2
answers1388
viewsHow to save facebook profile photo in database?
I have a button that when you click, connects to facebook and displays the data of the person in a form for registration, in this form to a field of type text that returns to me the following:…
php facebook facebook-graph-api file-get-contents file-put-contentsasked 9 years, 7 months ago Soares 83 -
4
votes2
answers336
viewsHow to check the number of users who have accepted an event on facebook using the Graph API
I’m developing a website where it should show how many people have confirmed their presence at an existing event on facebook. According to the Graph API documentation, in order for me to verify this…
-
3
votes1
answer904
viewsShare count and facebook likes in wordpress loop
Next I’m trying to put only a count of the shares I had on Facebook on loop of my theme. For this I found the following function and tried to modify it to my need. Follows the function: function…
-
3
votes0
answers40
viewsFacebook API - List of products for sale in a group
I searched the documentation and I couldn’t find it, so how do I get the list of products for sale from a Facebook group, those products that are posted on the "Sell an item"? I saw these two links,…
-
2
votes2
answers680
viewsShare text on Facebook
I’m trying to share the text of my web to Facebook, I’m using the Addthis to create social media buttons. He gives me this: <!-- AddThis Button BEGIN --> <div class="addthis_toolbox…
-
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, 8 months ago Anthony Accioly 20,516 -
2
votes1
answer39
viewsSending a photo with public privacy
Through the code below, I can send a photo to the photos of the user who is logged in, and the photo is successfully sent. But the photo goes with privacy Friends. How do I send privately Audience?…
-
2
votes2
answers106
viewsWhy does Graph API only return to 25 groups?
I have the second code: // globals var blacklist = []; var appId = ''; function performPostLoginTasks() { show_notification('Authorization', 'You successfully logged in using Facebook. Now we can…
-
2
votes1
answer336
viewsHow to receive a facebook username? Graph API
Hi, guys. How to get a facebook user id, and its name using Graph api? I can only get the message id using sender = event.sender.id; function fbGetProfile(id) { request({ method: 'GET', uri:…
-
2
votes0
answers139
viewsHow to post user status on facebook?
I made an app on facebook and took the app_secret I finally got everything, the goal is for the user to publish in his own timeline however, I can even publish but only in my app and with the login…
-
2
votes1
answer150
viewsShare Content on Facebook
To share a piece of content on Facebook I’m using the Facebook SDK API. These are articles on the site that will now have this sharing feature. I am doing so: <meta property="og:url" content="{!!…
-
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…
-
2
votes1
answer173
viewsGraph facebook with comment counter no longer works
I created a function in PHP that added up the number of comments made on facebook and wordpress to show in each post, but I think because of the updates of the plugins facebook, the code no longer…
-
2
votes1
answer705
viewsApi facebook does not return date of birth
I’m using the facebook api to log in and get some user data like name, surname etc. function apilogin() { console.log('Welcome! Fetching your information.... ');…
-
2
votes0
answers54
viewsI cannot access the value of a form input in a FB.api() function
I need to get the id of a group on facebook that is passed to me through a form, so I can access data from this group, but I can’t use this id in the FB.api() function, because the function does not…
-
2
votes1
answer329
viewsFacebook Graph API - How to post to a page?
Good afternoon. I need to know how to adapt the script below for me to post on the page that the logged in user is administrator. For example, if my user is a 3-page admin on the face, I want to…
facebook-graph-apiasked 7 years, 6 months ago Daniel Gregatto 1,054 -
2
votes1
answer3842
viewsOpengraph’s metatag og:image does not take the link-specific image
I have the following snippet of code, but facebook is randomly picking up another image that is not part of the specific link to this, the og:image as below. <meta property="og:type"…
-
1
votes1
answer236
viewsShow all facebook posts in a list
I have numerous profiles and fan pages that should control the content. Breaking in one by one is a huge job. That’s why I’m making this application to show all posts by date order, separated by…
-
1
votes1
answer349
viewsCustom Facebook "Like" button
Is there any way to customize or build the button "Like/Like" (to a page) of Facebook? I’d like a custom one, because the original doesn’t fit the design of mobile app that I’m developing.…
-
1
votes2
answers1009
viewsHow to avoid blocking by number of accesses on Facebook Graph?
I have a routine for consulting the last 50 posts: FB.api('/me/friends?limit=10', function(response) { var friend_data = response.data; for(var i = 0; i < friend_data.length; i++) { FB.api({…
-
1
votes2
answers1647
viewsHow to get (in object) Facebook data?
I’m creating a Feed (dynamic content list) with the content of a Facebook group’s wall. I know there are some features that Facebook itself provides, such as the Social Plugin - Like Box. After a…
-
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
votes1
answer167
viewsFacebook Open Graph Image
I have the social plugin on a particular website, and every day the thumbnail images (Open Graph Image) are changed. Every day I need to enter the URL: https://developers.facebook.com/tools/debug/…
-
1
votes0
answers195
viewsFacebook Graph API does not return all users
I am using the Facebook Graph API to return users who have liked a particular Post. Both on the Facebook page, as the summary of the query return me a number of users, only in the array I have fewer…
-
1
votes0
answers1501
viewsSync facebook photo album on website
In a project of a web site a client asked me if it is possible to register his photos on facebook and the same be updated/synchronized in their site, because as they work with events, it would be…
php javascript jquery facebook facebook-graph-apiasked 9 years, 6 months ago Anderson Brunel Modolon 1,111 -
1
votes0
answers21
viewsHow to use different images for Timeline and for comments?
I wonder if there is possibility to use different images in the link shares on facebook (open Graph).
-
1
votes1
answer202
viewsProblems API Facebook
I created an application with the Facebook API for a company I work for. Fact is that everything works perfectly until the Logout part of the user. Every time you drop, the following error happens:…
-
1
votes1
answer1496
views(#200) Permissions error facebook
I’m trying to develop an application that does a content search on facebook, example I have a list of keywords, and with these I do the search and facebook will return the content in the form of…
facebook-graph-apiasked 9 years, 9 months ago Jacob de Oliveira 301 -
1
votes0
answers39
viewsHow to read the sub-page in the Graph API
I need to make an application using php and python, however, at this point, I am understanding how the graph API. Using the system I saw that the graph API to the next page and does not show the…
facebook-graph-apiasked 9 years ago Paulo Lacerda 11 -
1
votes1
answer122
viewsHow to access albums from a Fan Page on Facebook?
I used the following code, to access the albums of a fan page on facebook: $cUrl = new cUrl; $fb_page_id = "xxxx"; $json_link =…
-
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
votes1
answer371
viewsRecover Item json - Facebook API
I’m working with the Facebook API and I’m trying to retrieve a json item, but I’m not getting it. First that’s the json that’s returned to me from Graph Facebook API. { "data": [ { "message": "Boa…
-
1
votes0
answers61
viewsFind friends who have confirmed an event in graph_api
I have been researching for a while how to make this type of request without using FQL (since FQL is obsolete). The only method I actually found that works is to get the list of people who are…
-
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
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
answer151
viewsError while picking facebook profile picture
Guys I’m trying to get the fb profile image but returns the following error java.io.Filenotfoundexception: No content Provider:…
-
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
votes1
answer116
viewsFacebook namespace not working in JSF?
I’m using personal jsf, I’m trying to make facebook recognize my metatags: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"…
-
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
answers110
viewsHow to collect Timeline public posts on Facebook?
Hello, I need to collect public posts on Facebook users' website. How to do this? I need the post and the reactions of each post. Thank you,
-
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
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, 8 months ago GilCarvalhoDev 769 -
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, 6 months ago Thiago R. 267