Questions tagged as 'facebook-graph-api'

0
answers

How to use facebook graph api to send messages to another user's messenger [closed]

I have a native app that contains a chat. When the user of my application sends a message I want this message to be sent to a user through Facebook Messenger, without my user having to use Messenger.     
asked by 21.11.2017 / 00:43
1
answer

Facebook Graph API - How to post to a page?

Good afternoon. I need to know how to adapt the script below so that I make the post on the page that the logged in user is an administrator. For example, if my user admin is 3 pages in the face, I want to post directly through the page and not...
asked by 19.05.2017 / 19:43
2
answers

Error getting facebook friend photo via PHP SDK

I'm using the Facebook API SDK to work with facebook. The version of the SDK I'm using is 2.8. I'm pulling the list of my friends' IDs and I'm successfully getting it. What I need now is to get the picture of each of them, but I can not. He i...
asked by 18.12.2016 / 03:54
0
answers

fb_exchange_token parameter not specified facebook login

My login system with facebook only works and only the first time the user signs in with facebook. As soon as I log out / restart the browser I get an error    fb_exchange_token parameter not specified Sometimes I do not get the err...
asked by 26.10.2016 / 13:52
0
answers

Facebook Api: How to get feed from a page using PHP?

I'm trying to pull the posts of a page on facebook and display them on a website, what I mainly need is the photo and the caption of each post. I'm using the following code: <?php require_once __DIR__ . '/inc/facebook-php-graph-sdk-5/src...
asked by 20.10.2016 / 17:57
0
answers

How to collect public timeline posts on Facebook?

Hello, I need to collect public posts in the Facebook user timeline. How to do this? I need the post and the reactions of each post. Thanks,     
asked by 30.11.2016 / 12:31
0
answers

Api Facebook live streaming

Has anyone ever had to get a Country List to send a POST with Geoblock using the facebook API to connect a live? I am linking my lives for a service, now I need to determine for it the countries that can see my streaming and those that can not,...
asked by 06.12.2016 / 18:32
1
answer

Save Facebook image to the database

Galera, I know it's very simple, but I'm having difficulties. I've seen some topics here, but I still have not been clear on how to do it. I need to save the Facebook image in the database, uploading it to the database. The information that a...
asked by 13.06.2016 / 23:27
1
answer

Post Page Facebook SDK php

How to publish to a facebook page through PHP? I'm trying: require 'facebook_php_sdk/Facebook.php'; // ATENCAO, configurar os parametros abaixo $APP_ID = "12345678"; // id da app $SECRET = "***************************"; // secret da ap...
asked by 18.05.2016 / 21:23
0
answers

Why is the variable the 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 (response) { User.initFbProfileIn...
asked by 09.05.2016 / 02:58