Skip to content

Proxy some functions from fbjs to jQuery, so you can test your app locally

Notifications You must be signed in to change notification settings

egze/fbjs-to-jquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

fb-to-jquery

When developing Facebook apps with FBJS (developers.facebook.com/docs/fbjs) you always have to copy/paste all your code to Facebook to test it.

With fbjs-to-jquery you can include jQuery on your page but still use Facebook JS functions, it will just be jQuery that is executing them. When you paste your code back to Facebook, everything will still work as expected. For now, this library is only limited to fbjs functions that I was using.

Usage

Include jQuery and fbjs-to-jquery on your page

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="fb-to-query.js"></script>

Don’t forget to remove these 2 lines when you paste the code back to Facebook.

About

Proxy some functions from fbjs to jQuery, so you can test your app locally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published