Questions tagged as 'facebook-graph-api'

0
answers

I can not access the value of an input from a form in an FB.api ()

I need to get the id of a group on facebook that is passed to me through a form, so that I can access data from that group, but I can not use that id in the FB.api () function, because the function does not recognize the value that is assigned t...
asked by 17.02.2017 / 20:26
0
answers

How to publish status in facebook timeline?

I made an app in facebook and got 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 of the app, when I run the application...
asked by 30.09.2015 / 20:23
1
answer

How to receive facebook username? Graph API

Hi everyone. How to get the id of a facebook user, 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: 'https://graph.f...
asked by 07.05.2016 / 02:14
1
answer

FB.login and blocking pop-ups

I have a usability issue when requesting extra permissions on Facebook. According to Facebook's documentation, the FB.login function should only be called after a click because most browsers block pop-ups by any other means. The p...
asked by 19.03.2014 / 06:48
2
answers

How to get (in object) Facebook data?

I'm creating a Feed (dynamic content list) with the contents 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 few tests, I saw some difficulties handling...
asked by 27.02.2014 / 19:35
2
answers

How to avoid blocking by amount of access in Facebook Graph?

I have a routine for browsing 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({ method: 'fql.query',...
asked by 12.02.2014 / 14:55
1
answer

ChatBot PHP - Facebook Messenger

Hello, how are you? I am creating a chatbot but I am having problems with HTTP (POST) request. When I call a function to send the POST to Facebook Messenger it seems to loop and start sending all the posts. Generating this as a result: Lo...
asked by 06.11.2017 / 12:37
1
answer

Facebook API, retrieve first name

I am using version 2.9 of Api Facebook 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, which I already have. First Name and Last Name, would no...
asked by 17.05.2017 / 06:06
1
answer

How to post to a Facebook page using the PHP SDK (5.0)?

I'm developing an application to schedule hourly publications for my Facebook page, I'm already able to log in the user get user access Token ID and everything, I have the necessary permissions in the Facebook application, and I already have...
asked by 15.12.2016 / 16:36
1
answer

List the most tanned 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": "xxxxxxxxxxxxxxxx...
asked by 01.08.2016 / 21:26