如何在Facebook应用程序中使用jQuery [英] How to use jQuery in a facebook application

查看:88
本文介绍了如何在Facebook应用程序中使用jQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在语言环境中完成了我的应用程序,我想将它集成到Facebook中创建一个应用程序。我的应用程序运行良好,但是当我尝试从Facebook加载它时它不起作用。

I finished my application in locale and I want to integrate it in Facebook creating an app. My application works well, but when I try to load it from Facebook it doen't work.

我读过有些问题,包括不是FBJS的JavaScript。

I've read that there's some problem including JavaScript that are not FBJS.

我没有使用Facebook标记语言,而是我的(jQuery UI和简单的html + php)。

I'm not using the Facebook markup language but mine ( jQuery UI and simply html + php ).

有人可以向我提供指南的链接,该指南解释了如何创建使用jQuery或其他js框架的应用程序吗?

Can someone provide me with a link to a guide that explains how to create an app that uses jQuery or other js framework?

推荐答案

请记住,当您为Facebook编写JavaScript代码时,必须以符合 FBJS ,他们的理由是我们建立了FBJS,以便为开发人员提供他们所需的所有功能,以及同时保护用户的隐私。

Remember that when you code JavaScript for Facebook you must write it in a way that conforms to FBJS, their rationale is "We built FBJS to empower developers with all the functionality they need, and to protect our users' privacy at the same time."

FBJQRY ,是一个旨在在FBJS中提供类似jQuery语法的库,可能是您对非iframe Facebook应用程序的问题的答案。

FBJQRY, is a library that aims to provide jQuery-like syntax in FBJS, and may be the answer to your question for non-iframe Facebook Applications.

这篇关于如何在Facebook应用程序中使用jQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆