Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I have a Facebook Page Tab App up and running and has been running for about a year. I need to collect more likes for our business page as opposed to the app page. Is there a way to ask new users of the app to like a page before they have access to the app?
Many thanks,
what you are looking for is called "Fan gate" - google it and you will find multiple example. In 2 words - when page is loaded, you need to check if user is logged in, and if user liked the app - and then you either redirect them to the "real" app page, or make certain div visible, or whatever you want. But if that's not the case - then you keep Please like us" div displayed, and it covers all your content. See this page for example: https://www.facebook.com/redbull/app_113185218710496
and here is a link to similar SO question: How to create a fan / like gate on Facebook?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Well I found this app (just a demo app for sale)
http://apps.facebook.com/horoscope-demo/
But before buying I am confused with:
This app
Asks to post on wall at first use
Shows advertisement dialog at app entry
Shows send request dialog at entry
and also has auto daily post on the user's wall (after permission)
Is there any violations of facebook tos?
There were some rules not to show dialog, send request dialog as far as I remember.
plus
is auto wall posting(even after approval) still possible or allowed by facebook?
I didn't test the daily auto post but can it still do it?
Thanks for replies Fb app developers.
As fb developer these questions are pretty useful.
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 9 years ago.
Improve this question
Is there a way I can get a poll to show up on both my wordpress site and facebook.
Do I need to use a facebook app?
Could I create an iframe to show up on the facebook page?
I'm not exactly sure if this poll will just show up on the homepage of a facebook page or if the poll will be something in the news feed. I am just trying to do initial research.
Most of my searched brings up polldaddy.com
I am currently using wp-polls, could I create a custom interface to have it show up on facebook?
1) Yes.
2) Yes
3) When creating Facebook Applications, iFrames are used by default, pointing to the location of your app on the server you specified in your Application Settings
4) Applications themselves cannot appear on a Facebook Profile page. You can generate Links and Status Messages (among other things) for users that approve your app which CAN appear in the user's Timeline/Profile Page
5) Depending on what you want to spend, Woobox is a good one too.
6) Yes. Since Applications are just iFrames, you can style the page on which you want your poll to appear to look however you like. Though, on Facebook, it will still reside ONLY on its corresponding application page.
You will want to look into the Javascript SDK or the PHP SDK for more information on how to set up a UI for your Facebook App to interact with Facebook itself.
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 11 years ago.
Improve this question
We have a facebook page with a numbers of different tabs on it. On one of the tabs we'd like to allow those who've liked the page to upload videos and images. The uploads would only appear on this specific tab. How is this normally achieved? Can we even use facebook or do we need to plug-in youtube or vimeo etc?
Is there an app or do we need to create one?
Any pointers t all would be much appreciated as we have no idea. Can't seem to find an answer on the forums.
When a user selects your Page Tab, you will received the signed_request parameter with one additional parameter, page. This parameter contains a JSON object with an id (the page id of the current page), admin (if the user is a admin of the page), and liked (if the user has liked the page).
https://developers.facebook.com/docs/appsonfacebook/pagetabs/
You can upload a video to a page using the Graph API, see the following Blog post: https://developers.facebook.com/blog/post/515/#video_upload
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 11 years ago.
Improve this question
I'm wondering how to set an app/iframe as the home page on a facebook brand page similar to how coca cola have achieved this - http://www.facebook.com/cocacola
I'm certain this this not something I can achieve through code and I've had a look through the facebook developer documentation for how to this using the facebook interface.
It's a maze of unhelpfulness.
What you probably have there is a Facebook application with a configured tab page. As the owner or admin of a page you can add whatever tabs you want, and even make them the default tab for visitors who are not already fans or admins of your page.
So here's how to do it:
Create yourself a Facebook application, and make sure to set up a version with a max width of 520px.
In your application settings configure the tab page settings to point at the narrow version of your app.
Go to the Application's profile page, and from the links on the side select 'Add to my page'., select the page you want to add the app to.
In your page settings, set the default tab to the App tab you just added.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to add Facebook "Like" functionality to a native mobile app i.e. Not one running in a browser.
I can retrieve the Likes for an item from the Graph API but I cannot see how to POST a "Like" operation using that API. How do I do that?
Am I going to have do have a browser control hidden with the app that uses an IFRAME?
TIA
Pat
According to the Facebook graph api documentation, you can like any object that has a /likes connection by posting to https://graph.facebook.com/OBJECT_ID/likes. This would work for friends posts, comments, etc.
But I don't believe there is an API to "like" a page (become a fan) and probably won't be because it would be abused by spammers. You will need to embed an web view control in your application for this.