facebook-page

facebook redirect app from canvas page to fan page

拈花ヽ惹草 提交于 2019-12-20 08:49:59
问题 im building facebook app as a iframe app in fan page. My problem at the moment is next: i added facebook request dialog (http://developers.facebook.com/docs/reference/dialogs/requests), and everything goes well except for one thing: when a user gets notification, the links goes to canvas page, not to fan page (where i would like to go...) Since i cant convince facebook to add some funcionality (that would be great), im looking for a way to automaticly redirect from app canvas page to fan page

How to star a post on a facebook fanpage using graph api?

☆樱花仙子☆ 提交于 2019-12-20 04:43:08
问题 I'm posting on my fanpage but i want to do highlight posts. Any suggestions? I have to star them one by one on the fanpage. Is there any way to do this? I also read the documentation but there is no examples. http://developers.facebook.com/docs/reference/api/page/#posts Sample of code: $args = array( 'access_token' => $page_info['access_token'], 'message' => 'MY MESSAGE' ); $post_id = $facebook->api("/MY PAGE ID/feed","post",$args); Im using PHP SDK 3.1.x. 回答1: Use: POST /<post_id>/ with

how to hide page post using facebook api

喜你入骨 提交于 2019-12-20 03:13:14
问题 I have this code and It's from this link https://developers.facebook.com/docs/reference/api/page/ (Please see 'Hiding a Page Post') I don't have any error but my problem is, this code is not working. the page post is still not hidind Below is my code: $fanpage_credit = array( 'access_token' => $page_token, 'is_hidden' => true ); $fanpage_post_url = '/'.$post_id; $postResult = $facebook->api($fanpage_post_url, 'post', $fanpage_credit ); echo 'HIDE SUCCESS '.time(); I look forward for answers.

Deprecating FBML

久未见 提交于 2019-12-19 04:44:11
问题 As you probably already know (or read quote at the end of this post), Facebook is deprecating FBML in favor of iframes for developping applications. I am currently launching a new browser plug in and need a landing tab on my facebook page with personalized install buttons and all the useful features one can wish to have on a fan page. However, I cannot use an iframe in my page because Facebook forbids it (see SO related question here) and I am told not to use FBML because it is being

Facebook: get list of pages that a user is admin of

风格不统一 提交于 2019-12-17 21:39:44
问题 I'm using the graph api. I have a logged in user, and want to get back a list of page ids of all the pages that the user is an admin of. Is there a way of doing this? The docs are pretty bad - and circular. 回答1: Its simple with Graph API. Steps: Get the manage_pages permission from the user (extended permissions). Call the Graph API - https://graph.facebook.com/me/accounts You can test this procedure in the graph explorer -> Just click on 'Get Access Token' button-> under 'Extended permission

Is it possible to LIKE a Facebook Page via the API?

牧云@^-^@ 提交于 2019-12-17 19:49:55
问题 Is it possible to LIKE a Facebook Page via the Open Graph API? Maybe POST to "http://graph.facebook.com/#{FB_PAGE_ID}/likes ??? This is the only thing I could find in the API about creating a LIKE: /POST_ID/likes like the given post none 回答1: Actually, it's not possible. You can not like pages. Check this: 'Like' a page using Facebook Graph API . I had to use a website to do like a page. The error I always got was something about permission whitelist. It seems that this specific function is

Hide facebook app from search

只谈情不闲聊 提交于 2019-12-17 17:01:25
问题 I'm adding an iFrame page to our facebook fan page, it's got a newsletter signup form on it, however I am stuck on something. If our fan page is called blahblah, the signup page is called "BlahBlah Insider Info". When I search for Blahblah, the app appears before the fan page, which is not good! How can I make it so it doesn't appear in search and can only be accessed from our fan page? 回答1: NO it's not currently possible. In addition, our search takes into account previous app/page usage so

Seamless way to check if user likes page

人走茶凉 提交于 2019-12-17 03:35:20
问题 So, I am using an iFrame on my tab and I am doing one of those "like roadblocks" where the user needs to like the page in order to view the secret content. Is there a better and more seamless way of doing this then having to ask for permission? I know for tabs built with FBML, they dont ask for permission, but I am guessing that is because it is NOT an iframe. Thanks! 回答1: Of course you can! As mentioned in the documentation, Facebook will send you some extra details in the signed_request :

Facebook fan page going immediately to wall after like, used to go back to the app

痞子三分冷 提交于 2019-12-14 01:27:01
问题 I use fan gates on a lot of different fan pages. The idea has always been you land on the page and see a like us to gain something after clicking like the page reloads and now the user sees the content behind the fan gate. I noticed today that after liking a page it immediately goes to the wall, is this a bug? Is this feature deprecated? I don't have much wall activity on my pages, I'd rather users see our portfolio or special deals. 回答1: This is a bug on facebook right now, described here -

Fixed width in facebook fanpage

这一生的挚爱 提交于 2019-12-13 08:44:15
问题 I am working on a fanpage where I need to upload whole of the site on the fanpage . It means that the site is completely shown on the fanpage . As you know that the width of the fanpage is maximum 720px. Can there be a way I can shrinkup the site and show it on the fanpage ? Thanks in advance. 回答1: the fan page width is not 720px its 520px and to show the website on the fanpage you need to re-design using max width 520px that will solve the problem or you can add the scroll bar at the bottom