facebook-graph-api

Facebook - custom audience ToS for sandbox account

落花浮王杯 提交于 2021-02-05 05:28:05
问题 Im trying to create custom audience using API. With the live ad account this works, but with sandbox account i get the below error: { "error": { "message": "Permissions error", "type": "OAuthException", "code": 200, "error_subcode": 1870034, "is_transient": false, "error_user_title": "Custom Audience Terms Not Accepted", "error_user_msg": "You'll need to agree to the Custom Audience terms before you can create or edit an audience of CUSTOM type. To accept, go to https://www.facebook.com/ads

Send to messenger not showing

百般思念 提交于 2021-02-05 04:50:23
问题 I'm trying to add facebook's " send to messenger " to my web page. On Fb's documentation it states: When there isn't an active session, no identity is surfaced. When the button is clicked, we will present a Login dialog. But what I realize is that if a user is not logged in to facebook the button doesn't get rendered at all. Is this the expected behaviour? PS- Note that my fb app is not in dev mode and I'm using the a fb account with admin role for that app. 回答1: If you app has not yet been

Send to messenger not showing

点点圈 提交于 2021-02-05 04:49:53
问题 I'm trying to add facebook's " send to messenger " to my web page. On Fb's documentation it states: When there isn't an active session, no identity is surfaced. When the button is clicked, we will present a Login dialog. But what I realize is that if a user is not logged in to facebook the button doesn't get rendered at all. Is this the expected behaviour? PS- Note that my fb app is not in dev mode and I'm using the a fb account with admin role for that app. 回答1: If you app has not yet been

Send to messenger not showing

…衆ロ難τιáo~ 提交于 2021-02-05 04:49:28
问题 I'm trying to add facebook's " send to messenger " to my web page. On Fb's documentation it states: When there isn't an active session, no identity is surfaced. When the button is clicked, we will present a Login dialog. But what I realize is that if a user is not logged in to facebook the button doesn't get rendered at all. Is this the expected behaviour? PS- Note that my fb app is not in dev mode and I'm using the a fb account with admin role for that app. 回答1: If you app has not yet been

Facebook api pending friend request sent by user

こ雲淡風輕ζ 提交于 2021-01-29 11:10:20
问题 I dont find any graph api or fql query to retrieve the list of pending friend request sent by the user. Is there any way to retrieve it ? 回答1: There's an FQL table called friend_request which shows the pending friend requests sent by or to the current session user. However, it does not allow you to retrieve the list of pending friend request sent by the user because the only indexable field in this table is uid_to . This means that you can read the list of pending friend request sent to the

How to backend-upload a video to Facebook, but with scheduled publish

时光总嘲笑我的痴心妄想 提交于 2021-01-29 05:00:36
问题 I have a php console script which uploads a video file to my Facebook Page. This works fine (code below). However when this finishes, the video is immediately available publicly. I would like to publish the video at a certain datetime. I couldn't find the proper documentation for this. Is it available anywhere? Alternatively, if I could upload the video available only to me, and then "turn it public", that would suit me also. <?php $fb = new Facebook\Facebook([ 'app_id' => '{APPID}', 'app

How to backend-upload a video to Facebook, but with scheduled publish

痴心易碎 提交于 2021-01-29 04:59:15
问题 I have a php console script which uploads a video file to my Facebook Page. This works fine (code below). However when this finishes, the video is immediately available publicly. I would like to publish the video at a certain datetime. I couldn't find the proper documentation for this. Is it available anywhere? Alternatively, if I could upload the video available only to me, and then "turn it public", that would suit me also. <?php $fb = new Facebook\Facebook([ 'app_id' => '{APPID}', 'app

Facebook Graph Api publishing to feed returns: “(#100) Param place must be a valid place tag ID”

♀尐吖头ヾ 提交于 2021-01-28 10:50:08
问题 I am searching at Facebook Graph Api, using graph api explorer, for some place using the following endpoint: /search?type=place&q=centauro&fields=id,name,link I am getting this as response: "data": [ { "id": "492103517849553", "name": "Centauro", "link": "https://www.facebook.com/Centauro-492103484516223/" }, { "id": "313439499156253", "name": "Centauro", "link": "https://www.facebook.com/Centauro-313439462489590/" }, { "id": "175812113006221", "name": "Centauro", "link": "https://www

Facebook Graph Api publishing to feed returns: “(#100) Param place must be a valid place tag ID”

我是研究僧i 提交于 2021-01-28 10:48:09
问题 I am searching at Facebook Graph Api, using graph api explorer, for some place using the following endpoint: /search?type=place&q=centauro&fields=id,name,link I am getting this as response: "data": [ { "id": "492103517849553", "name": "Centauro", "link": "https://www.facebook.com/Centauro-492103484516223/" }, { "id": "313439499156253", "name": "Centauro", "link": "https://www.facebook.com/Centauro-313439462489590/" }, { "id": "175812113006221", "name": "Centauro", "link": "https://www

Facebook Developer Account vs Facebook Personal Profile

折月煮酒 提交于 2021-01-28 08:30:53
问题 I would like to deactivate my personal Facebook profile. The problem is that I have created a number of applications which are linked to the Facebook developer profile. These applications do a number of things - provide authentication, service data requests with permissions from the API etc. These apps are used by some of my clients so it is important that these apps continue to function. If I deactivate my personal account, what will happen to these apps? Additionally, is it possible to keep