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
-
1
votes1
answer203
viewsPublish Facebook page SDK php
How to post to a facebook page through PHP? I’m trying to: require 'facebook_php_sdk/Facebook.php'; // ATENCAO, configurar os parametros abaixo $APP_ID = "12345678"; // id da app $SECRET =…
-
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
votes1
answer93
viewsHow to list a Graphapi response with React?
I have been trying for days to create a simple list of the names of the events I receive from a request for Graphapi from Facebook. The object I receive is the following: How do I make a list of…
-
1
votes1
answer139
viewsList the most liked posts
Using the Graph API Explorer with the call below: me?fields=posts{likes.summary(true).filter(stream)} I get my posts, who liked and a summary containing the total: { "posts": { "data": [{ "id":…
-
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
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
votes1
answer97
views$. getJSON not working as it should to get image Graph API
I have this following code where return comments from a post on facebook. function pegaFoto(id){ var url2 = 'https://graph.facebook.com/v2.8/' + from[id] + '/picture?fields=url'; $.getJSON(url2,…
-
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
votes1
answer247
viewsChatbot PHP - Facebook Messenger
Hello, all right? I’m creating a chatbot but I’m having problems with the HTTP request (POST). When I call a function to send the POST to Facebook Messenger it seems to me that it loops and starts…
-
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 -
0
votes1
answer86
viewsUsing a FB.Api within another FB.Api
I’m doing a feature to make a list with 10 facebook friends with 10 posts (status) each. The code below performs the searches in a certain way, however the div "Friend" + id does not receive the…
-
0
votes2
answers645
viewsFacebook does not allow the presentation of posts in iframes?
Follow a routine that searches all posts of a particular user via Facebook Graph API, displays the time it was posted and the message, description and type of post on DIV: FB.api( { method:…
-
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
answer80
viewsWill Facebook approve an Android app with facebook4j?
I decided to use the facebook4j library because it is easier for integration and even for development itself, in my opinion. My question is: facebook will accept an android app with facebook4j?…
-
0
votes1
answer214
viewsHow to check whether or not Facebook’s Graph API is returning an image?
I’m working on a project that uses the user photo as the facebook profile photo, but some users have no facebook profile, so the Graph API returns error and does not return an image, what function…
-
0
votes2
answers96
viewsIs it possible to go back to the old Facebook box?
It is possible to return to old Facebook Likebox? I need to go back because I need to increase the number of 'Friends faces'. If not possible, can you tell me if it is possible to increase this…
-
0
votes1
answer1219
viewsFacebook API Python
Personal is it possible to list ALL groups of a friend on the face? Like show the groups he is in? I found this code but it’s not what I want, it just shows friends: import urllib2 import json url =…
-
0
votes1
answer925
viewsPost on fan page with facebook Graph api
I made a script in which automatically put on a fan page on facebook, the script works, but the post is only visible to the user who posted (who is the admin of the fan page), in the login I am…
-
0
votes1
answer58
viewsError in facebook library. "Malformed access token"
I am trying to get the contact information of the facebook user. For this I am using the Facebook PHP SDK. I can generate the login url correctly. However, when I try to get the information I get…
-
0
votes1
answer422
viewsUsing FQL in facebbok api php 4
Staff need to run a simple FQL using Facebook SDK PHP 4 using the following command: $result=(new FacebookRequest( $session, 'GET', $fql))->execute()->getGraphObject()->asArray() and it…
-
0
votes0
answers73
viewsProblem with Facebook Sharing
I have a script javascript that shares certain posts on my page where the content that shares is automatically generated from the database. It works well, the only problem I’m having is with the…
-
0
votes1
answer306
viewsMake Facebook token permanent
I made a configuration for Facebook protection and the API is active but when it is processed it gives the error. Graph returned an error User: (#200) The user hasn’t authorized the application to…
-
0
votes1
answer29
viewsWordpress - Share the social network pulls wrong photo
When someone will share a news on my site (wordpress), it pulls the wrong image, you know why, or how to fix?
-
0
votes1
answer107
viewsHow to get the posts on a facebook page (not downloaded by me) using the Graph-api?
I need to collect the posts from pages on Facebook not managed by me. Does anyone have any suggestions on how to do this? Possible using the Graph API Explorer?
-
0
votes0
answers110
viewsList all pages the user manages
Currently I use as follows to get certain page that the user manages: $graphObject = $response->getDecodedBody(); $fbUserName = $graphObject['name']; $fbUserEmail = $graphObject['email'];…
-
0
votes1
answer520
viewsReturn facebook user ID
As I can through an input field informing my facebook username, return my Facebook user number (id)? Case Input: http://www.facebook.com/usuario Output: $profile= '4559875758';echo $profile;…
-
0
votes1
answer33
viewsAuthor name in meta Property
Opa, I need to add the name of an author of the article, like this image: My codes are: <meta xmlns="" property="og:url"…
-
0
votes1
answer28
viewsImprove image quality - Upload Facebook API
I’m performing the creation of a Facebook post with a photo with the following code: FB.api( '/me/photos', 'POST', {"url": imagem,"message": texto_publicaco}, function(response) { alert("Postagem…
-
0
votes0
answers60
viewstake numbers of clicks and views from a Facebook page using the Graph API
How can I get click numbers and views from a Facebook page using the Graph API? If anyone knows otherwise accepted suggestions.
-
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
votes0
answers41
viewsIs it possible to pick up chat messages from my own profile in the Graph API?
Hello, I am developing an app to collect chat messages from my own profile and would like to know if it is possible to get these messages, I have already read the Graph API documentation…
-
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
votes0
answers48
viewsGetting the Date of Posting from the Facebook API
Good morning, I’m implementing the Facebook Api, but I need it to bring me beyond the photo and description of the publication, the date of publication(Day and Month). Has anyone ever done or know,…
-
0
votes1
answer269
viewsFacebook API , recover first name
I am using version 2.9 of the Facebook Api in PHP, my goal is to recover the most basic information. From what I read in the documentation, the only authorization I would need is the email address,…
-
0
votes1
answer1201
viewsHow to access the contents of a Curl request with php?
I’m developing a php bot that takes the posts from a facebook page feed using Curl via GET request. I want to extract certain information from the page to then put in content and display on a good…
-
0
votes1
answer43
viewsGet link from an image saved in the bd
I am developing an ASP.NET MVC project using c#. I have a page with a facebook share button. The sharing button is already working, however I’m having problems because of the image tag, because it…
-
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
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 -
0
votes1
answer33
viewsProblems using Graphapi in Python - "there is no Graphapi attribute in the Facebook Module"?
Hello, so, as the title suggests, I’m trying to use graphAPI facebook but without success, my goal is to do data mining for data science, but I’m not having much success, I’m following the…
-
-1
votes1
answer359
viewsCalling friends profile image with GRAPH API
How do I call my friends' profile image? Mine I can already seek this way me/picture?redirect=false.
-
-1
votes1
answer455
viewsFacebook API - Pulling posts with Hashtag
I’m having to apply the Facebook API to a site, pulling posts from a page, I wonder, if there’s any way to pull only posts containing a Hashtag, the API allows this? HOW AM I PULLING which in this…
-
-1
votes3
answers92
viewsAs I do in python for at the end of the code, it go to the start again
As I do in python to at the end of the code, it go to the start again and repeat once every 3600 seconds? My code: * fb = Facebook ( "meu-token" ) fb.testing = False try: start_time = time.time()…
-
-1
votes1
answer12
viewsQuestions about webhooks: how to manipulate data that comes instantly?
I can get the data I want through a webhook, but I want to know how to manipulate this data that comes to me with file_put_contents or even save bd. The way I’m doing I can’t save to txt file…
-
-2
votes1
answer1174
viewsFACEBOOK API - APPLICATION DOMAIN
I’m trying to use the Facebook API to log in. Offline is working, but when I put it online I have the following problem: Here’s my basic app settings:…