facebook-page

Adding a tab to a fan page does not work… error: (#210) Subject must be a page

喜欢而已 提交于 2020-01-06 14:18:15
问题 I'm trying to add a tab to a fanpage using the graph api/PHP SDK and I'm receiving an error : (#210) Subject must be a page I've tried using both the user access_token AND the page access_token but neither work. I've tried using the page id of numerous accounts and still no go. Here is my code: <?php $path="/PAGE_ID/tabs/"; $access_token="ACCESS_TOKEN"; $params = array( 'app_id' => "APP_ID", 'access_token' => $access_token ); try{ $install = $facebook->api($path, "POST", $params); }catch

facebook getUser() in fan page tab iframe shows internal server error only on IE

混江龙づ霸主 提交于 2020-01-03 03:46:09
问题 I have an application on facebook page tab that uses the getUser so that I can get the facebook id of that user it works fin on both Chrome and Firefox but not on IE. I tried to clear cache several times! here is what I am doing (this is codeigniter framework) <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Register extends CI_Controller { function __construct() { parent::__construct(); $this->load->library('facebook', $this->config->item('fb_config')); $this-

Real time update for fans page [closed]

橙三吉。 提交于 2020-01-01 06:55:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is that possible to get realtime update for specific fan page? I can get from user as long as it is allowed my apps. But how about fans? Can send me some related documentation. If cannot, any optional I can use? 回答1: You need to create a Page and an App. Then the Page adds that App as a tab. Then you subscribe

Post Job Offers through the Facebook API

为君一笑 提交于 2019-12-30 06:26:08
问题 Does anyone know if it is possible to post job offers through the FB API? I am asking in context of this article https://facebook.com/business/news/take-the-work-out-of-hiring I searched for something in the FB documentation, but couldn't find anything. 回答1: I have been exploring the same thing, and minus an official FB statement that they do not support this through Graph API or otherwise, I'd safely say that it is not currently possible/supported. 回答2: It looks like Facebook is rolling this

Redirect to Facebook page tab after authentication

一个人想着一个人 提交于 2019-12-25 18:31:38
问题 I have a facebook page where I have added a tab of my application. I use to check that the user is authenticated or not using the following code:- <?php $app_id = "MY APP ID"; $canvas_page = "MY CANVAS PAGE"; $auth_url = "https://www.facebook.com/dialog/oauth?client_id=" . $app_id . "&redirect_uri=" . urlencode($canvas_page); $signed_request = $_REQUEST["signed_request"]; list($encoded_sig, $payload) = explode('.', $signed_request, 2); $data = json_decode(base64_decode(strtr($payload, '-_', '

Facebook Graph Api Fan page photo upload (IOS)

泄露秘密 提交于 2019-12-25 00:34:53
问题 I have an app that uploaded photos on the fly and i'm trying to add the ability to upload to the users facebook fan page (that they administer). The problem that i'm having is that i can sucessfully upload a photo to the fan page but it's not showing up on the fan page timeline, it's only showing up under the "Recent Posts by Others" section of the fan page. I'm obviously not uploading these images properly. Here's my code: ACAccountType * accountType = [_accountStore

New Facebook page not visible to API

你。 提交于 2019-12-25 00:00:18
问题 Firstly, apologies for the fact that this is a rather convoluted question. I have search the site to see if it has been asked before, but, while there are several that are similar, none of them relate to this specific problem. I am trying to set up the ability to post as a Facebook page using the Page API. I have gone through the following process: Create an App Create a Page linked to the App Added the Page to my Facebook Business Manager account Set myself as the administrator of the Page

What do you do when Facebook blocks your URL?

喜欢而已 提交于 2019-12-24 16:48:53
问题 To reproduce: Go to: https://developers.facebook.com/tools/debug/og/object/ Type in allprowebtools.com Submit Error: This link is blocked, or you have triggered an excessive amount of scrapes. If you think you're seeing this by mistake, please let us know. I am hoping someone out there can help me. Things I have done in efforts to correct this: Clicked the "let us know" link Talked to one of Facebook's sales representatives, she said she see's no obvious reason why this is happening Perfected

What do you do when Facebook blocks your URL?

烈酒焚心 提交于 2019-12-24 16:48:09
问题 To reproduce: Go to: https://developers.facebook.com/tools/debug/og/object/ Type in allprowebtools.com Submit Error: This link is blocked, or you have triggered an excessive amount of scrapes. If you think you're seeing this by mistake, please let us know. I am hoping someone out there can help me. Things I have done in efforts to correct this: Clicked the "let us know" link Talked to one of Facebook's sales representatives, she said she see's no obvious reason why this is happening Perfected

How can i get the admins user id of a page in facebook.?

岁酱吖の 提交于 2019-12-24 00:35:47
问题 How can i get the admins user id of a page in facebook using grapg API .? For eg: This will give the details of page KFC https://graph.facebook.com/126380033352 { "id": "126380033352", "name": "I Love KFC", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/50510_126380033352_4943708_s.jpg", "link": "http://www.facebook.com/Official.KFC", "likes": 543485, "category": "Food/beverages", "username": "Official.KFC", "founded": "1929", "about": "KFC United Kingdom. Finger Lickin' Good.",