问题标签 [facebook-iframe]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1744 浏览

facebook - 简单的基于 iframe 的 Facebook 身份验证

我编写了一个 facebook 应用程序,但身份验证无法正常工作。尽管谷歌搜索了几个小时,但它并没有解决。请编写正确验证用户身份的脚本,如果用户单击允许按钮,只需显示文本“欢迎”,假设我已经编写了所有基本的 suff aas ..

0 投票
2 回答
20221 浏览

facebook - iframe 中 Facebook 应用 Canvas 的全高

我在使用 iframe 开发 facebook 应用程序时遇到问题,即将出现的问题是我的全部内容没有被显示。当我通过萤火虫检查它时,我才知道 iframe 的高度:800px 所以我想增加它或动态设置高度。我试过 FB.Canvas.setSize() 但它没有用,我该怎么办?

0 投票
1 回答
521 浏览

facebook - 是否可以使用 Auto_publish?

是否可以在 Iframe Canvas 中使用 Auto_publish 我认为所有 facebook 应用程序开发人员都使用 fbjs > Facebook.streamPublish 如果使用 Auto_publish 来自动发布,我们该如何使用它?

0 投票
2 回答
23285 浏览

iphone - 是否可以在 UIWebView 中使用 iframe?

我想在我的应用程序中添加一个类似 facebook 的按钮。在 developer.facebook.com 中,我对此无能为力。是否可以在 UIWebView 中使用由 facebook 创建的类似按钮的 iframe?它认为如果可能的话,我可以在我的应用程序中添加一个使用该 iframe 的 UIWebView。谢谢。请写一些示例代码。

0 投票
1 回答
1954 浏览

facebook-iframe - 如何使用 iframe 找到 Facebook 页面的原始来源

在 iframe 中创建 Facebook 页面时,文件有一个原始源主机,Facebook 将文件缓存在自己的服务器上。

我想访问原始资源,这样我就可以看到在该特定页面上复制某些功能的编码。

如果可能的话,我该怎么做

0 投票
1 回答
3213 浏览

facebook - Facebook App Iframe OAuth 登录/权限错误 - 可以避免吗?

我遇到了与此处所述相同的问题Facebook OAuth login for iframe canvas apps 显示徽标图像和转到 Facebook.com 标题而不是登录- 我已经能够使用接受的答案中提供的解决方法来确保用户正确请参阅第一次使用该应用程序的权限框。

然而,我的问题是,在应用程序的初始“安装”之后这种形式的重定向对用户来说是非常具有破坏性的——在被重定向回来之前,他们明显地被从 Facebook 网站带走了。它确实破坏了用户体验。如果我使用我正在使用的 CodeIgniter 库(http://www.haughin.com/code/facebook/)提供的标准登录方法,那么应用程序的登录/加载是无缝的 - 但我有上述问题首次使用该应用程序。

有没有一种方法可以检测用户是否安装了应用程序,以便我可以对除应用程序“安装”以外的每个实例使用主要登录方法?

0 投票
1 回答
1680 浏览

php - How can I link to a specific page on a facebook iframe app?

i created an iframe application and embedded this application in a page. Is it possible to create a link to a specific page in the iframe application?

This is the link to the application:

http://www.facebook.com/pages/PAGENAME/123456?sk=app_123456

I need to put some GET parameters to the url like "item_id".

How can i do that?

greetings

0 投票
1 回答
888 浏览

facebook - 带有内部目标的 iframe 链接 - 在 Chrome 和 Firefox 中工作,而不是 IE?

我正在使用 iframe 创建自定义 Facebook 粉丝页面,它在 Google Chrome 和 Mozilla Firefox 中运行良好,但在 Internet Explorer 中无法运行。有没有一种快速简便的方法来解决这个问题。

您可以在http://www.facebook.com/pages/GTD/104839016256119?sk=app_168848466497060查看工作示例

0 投票
1 回答
736 浏览

php - IFrame 中的静态 FBML 和 FBML 用户 ID 和用户名

我想知道,这个静态 FBML 标记无论如何都可以在 IFrame 中工作:-

fb : 用户链接 uid="loggedinuser"

我的第二个问题是,我们能否通过存储的 Cokkies 获取用户 ID,而不是使用 FBML,因为 iframe facebook 不允许我们访问用户数据。所以使用 Firebug 我发现我们获取了用户 ID。并存储在 cookie 中。我希望用户被限制多次访问我的 iframe 。因此,通过获取用户 ID,我想检查用户是否已注册。如果他已经注册了。他不能注册两次。

我正在通过 Using Cokkies 尝试它,但由于缺乏关于 JAVASCRIPT 的知识,我没有得到如何执行它。

0 投票
1 回答
1718 浏览

facebook - Facebook iFrame tab page - share and comments - how?

I'm new to this. I've made a iframe tab page and added to my Facebook page from instructions on the internet. Now, on my tab page, I have 5 songs list to giveaway. Each song should have a 'download' and 'comments' link beside it. 1. For the 'download' link, after user clicked and the 'save as' box appeared, how do I post to user's wall something like "have downloaded the song Bla Bla Bla from ArtistXYZ fan page! Get it for yourself!" 2. How do I make the 'comment' part working? Thank you.