facebook-canvas

Facebook canvas application never loads <body> contents?

感情迁移 提交于 2020-01-13 06:06:30
问题 I've built a Facebook application which should be available on the web or as a canvas application within Facebook. My setup is like so: SERVER | FACEBOOK APP | CURRENTLY WORKS ----------------------------------------------------------------------------- localhost | quotewarsdev | both in app and directly ----------------------------------------------------------------------------- quotewars2012.com | quote_wars | only by accessing directly I've developed and deployed other Facebook apps using

How to configure AWS S3 to allow POST to work like GET

微笑、不失礼 提交于 2020-01-01 11:51:50
问题 Facebook states in their canvas setup documentation: Our servers will make an HTTP POST request to this web address. The retrieved result will be displayed within the Canvas frame on Facebook. My application is hosted on AWS S3 as a static website using the following CORS configuration: <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>POST<

How to configure AWS S3 to allow POST to work like GET

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 11:50:11
问题 Facebook states in their canvas setup documentation: Our servers will make an HTTP POST request to this web address. The retrieved result will be displayed within the Canvas frame on Facebook. My application is hosted on AWS S3 as a static website using the following CORS configuration: <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>POST<

Facebook canvas app vs Facebook mobile web app

孤人 提交于 2020-01-01 05:01:07
问题 I'm a bit confused about the difference between a facebook canvas application and a facebook mobile web application. Here is the context of my confusion.. I have a canvas application, let us call its namespace as myfbapp, and I basically can access it from https://apps.facebook.com/myfbapp and after I login to FB it opens up with in Facebook. I'm using java (apache / tomcat) for my server side implementation and for simplicity sake let us say I just have an index.html and a

the facebook apps secure canvas URL

最后都变了- 提交于 2019-12-31 02:59:05
问题 I have some question about the facebook apps secure canvas URL. For the facebook apps secure canvas URL or secure page tab URL, does it require a specific kind of SSL Certificates, or any kind of them is fine?? As I am using one domain to host all things in different apps, is it fine for different apps using the same security domain? For example, if I bought a SSL for my domain, let's say it is http://abc.com. What I need to type in the secure canvas URL box is https://abc.com, right? Do I

How to get e-mail when logging into canvas application using fb graph?

早过忘川 提交于 2019-12-26 03:55:28
问题 I want to get the user email when the user logged into my facebook canvas application using only fb graph api?I dont want to use facebook php sdk as I can not handle it with this code(Actually,I tried a lot but failed)Plz help $app_id = "xxxxxxx"; $canvas_page = "xxxxxxxx"; $auth_url = "http://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

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, '-_', '

Open application from Page tab in full width

怎甘沉沦 提交于 2019-12-25 00:16:03
问题 I have created a Page for my Facebook canvas application and there added a new tab that displays the login page for the application. However, when a user clicks the login button, I would like to open the application (http://apps.facebook.com/amiinteresting) in "full screen", not inside IFrame of the page. The reason is that my application requires more width than can fit within a page tab. Is this possible to accomplish with JavaScript or in some other way? Here are a couple of images to

Custom Facebook Tab not rendering on mobile

百般思念 提交于 2019-12-24 01:08:47
问题 I know there are other heavily answered questions out there for this, but I'm posting my specific configuration to see if maybe someone can tell me that I have an error. My app is loading just fine on desktop, but I'm getting an error "The page you requested was not found" in my mobile browser. Facebook Canvas Canvas Page: https://apps.facebook.com/hiwayfcu-hockey Secure Canvas URL: https://hiwayfcu.wpengine.com/redirect/?fb Mobile Site URL: https://hiwayfcu.wpengine.com/redirect/?fb Website

iFrame showing up Blank in Facebook Canvas App

北城以北 提交于 2019-12-22 13:56:17
问题 I have an extremely simple page that I'm trying to view in the Facebook iframe. It's a Django-view but it's not dependent upon whether the request is submitted via POST or GET. All it does is returns some simple HTML. If we hit the link directly, it displays correctly. If, in firefox, I right-click on the iframe and choose the option to display only that frame -- then it shows correctly. However, when viewing the Facebook App, nothing shows up. Here's the App Link: http://apps.facebook.com