facebook-page

Post a photo to an Album on a Facebook fan page without being the admin,

自闭症网瘾萝莉.ら 提交于 2019-12-08 02:36:16
问题 From my iOS application, i would like to post a photo to a fan page where i am not the admin. I am doing well with that code: NSData* imageData = UIImageJPEGRepresentation(image_, 90); NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"hello", @"message", imageData, @"source", accessToken, @"access_token", nil]; [FBRequestConnection startWithGraphPath:@"{pageID}/photos" parameters:params HTTPMethod:@"POST" completionHandler:^(FBRequestConnection *connection,

How to add Go to App button on my app page

心已入冬 提交于 2019-12-08 02:17:07
问题 I have a facebook page for the app. if i open the page, it just show like button. i need "Go To App" button near by, which will redirect the user to the facebook app. Thanks. 回答1: Do not ever merge pages! I did it and I regret. You'll lose everything. You can simply just change page type to Brands & Products > App Page, and you can choose it in the app settings thereafter. That simple! 来源: https://stackoverflow.com/questions/8922287/how-to-add-go-to-app-button-on-my-app-page

App page used to resolve from Facebook search, now it 4oh4's

让人想犯罪 __ 提交于 2019-12-07 20:11:25
问题 I have an existing facebook app. I can search for it from the "search" box on the facebook site. It used to resolve just fine. Now even though I still see the app in search results I get a 4oh4 error when clicking on the app link. Everything else works just fine, the app works, the link to visit app from developer section works. The id's are the same but the facebook search link seems to have slightly different URL. The search I did was for ClubView 回答1: Plug a URL into the Bookmark URL field

Facebook app iframe won't attempt to load when logged in as page

北战南征 提交于 2019-12-07 17:56:00
问题 I have an app that shows up as an iframe on a Page. (Here's an example.) If you view the app tab as a Facebook user, whether you have the app installed or not, everything works correctly. If you view the app tab as a Facebook Page that has not installed the app, everything works correctly. If you view the app tab as a Facebook Page that has installed the app, nothing displays. In fact, when sniffing the HTTP headers, it looks like no attempt is ever made to load the app URL . Any idea what

Permissions on fan page

扶醉桌前 提交于 2019-12-07 10:56:28
How do I get permission on an application I have on a fan page tab and stay on the current tab? I am collecting permissions on the application fine, but when I put the application onto a tab, it goes haywire seemingly getting caught in a never-ending loop and never going anywhere. reekogi You could do this with the JavaScript SDK: //Facebook connection with the JavaScript SDK FB.init({ appId: 'YOURAPPID', cookie: true, xfbml: true, status: true }); FB.getLoginStatus(function (response) { //If you have permissions already if (response.session) { //Do application stuff... } else { //Redirect

Facebook API: Determine if Facebook Page is published / unpublished

不问归期 提交于 2019-12-07 00:45:38
问题 What is a reliable way to check whether a Facebook Page is published or unpublished using the graph API? I currently do this: http://graph.facebook.com/{page_id} and check if the return value is "false". If it's false, I conclude that it's unpublished and if it returns a graph object, then conclude that it's published. But I'm noticing now that a lot of published pages return "false" from the above request. Here's an example: this page is published: http://www.facebook.com/AjiRestaurant but

Facebook fanpage crawler

元气小坏坏 提交于 2019-12-06 20:53:35
I would like to write a Facebook fanpage crawler which crawl following information 1) Fan page name 2) Fan count 3) Feeds. I know i can use open graph API to get this, but i want to write some script which will run once in a day and get all these data and dump in my sql db. Is there any better way to do this? Any help is appreciable I think its against the Facebook TOS, no long time ago i read some blog where the whriter create some type of spider to collect data about facebook pages user etc and he get a call from facebook lawyers 来源: https://stackoverflow.com/questions/3519600/facebook

How to program different welcome pages based on country IP?

廉价感情. 提交于 2019-12-06 17:12:04
问题 How can I create different landing pages based on the country of the IP? For example, people from USA should get landing page 1 and people from Spain should get landing page 2. 回答1: use http://freegeoip.net/json/64.34.119.12 64.34.119.12 being ip address, you will have not only country but also those field: public string ip { get; set; } public string country_code { get; set; } public string country_name { get; set; } public string region_code { get; set; } public string region_name { get;

How to post a comment on Facebook Page as User, not as Page

安稳与你 提交于 2019-12-06 16:13:25
问题 I want to post a comment on Facebook Page as User. The user is admin of the facebook page. I tried that my app requests the following URL with the user's access token. https://graph.facebook.com/[POST_ID]/comments But the comment was posted as Page account. I was able to post on Facebook Page as User. My app requests the following URL with the user's access token. https://graph.facebook.com/[PAGE_ID]/feed It's successful. With the pages's token, the post was successfully posted as Page

FB app request points to canvas page instead of page tab

ぐ巨炮叔叔 提交于 2019-12-06 14:13:44
问题 I've created a facebook page app in the new timeline view with the js sdk, and I'm using a fb.ui call to use a multi-friends selector to invite my friends to the app. However, when my friends click on the invite they are taken to a version of my page which does not have a like button. Screenshot of what people see when navigating to the page normally (ignore the facebook logo on the far left top here): http://i.imgur.com/R3S3g.jpg Screenshot of what people see when linked through an invite: