in my facebook FBML app, I have the flash connecting to the js (in FBJS) .
I have set up the stuffs like that and working.
However, sometimes, the bridge connection fails and I see thatin the URL, facebook attach the fb_noscript=1 parameter there. e.g. apps.facebook.com/myapp/?fb_noscript=1
when I remove it, and reload the apps, it i...
I'm developing apps at Facebook using FBML and FBJS. When I tried to use document.getElementById to read tag, it did not reply the correct value.
Can we really use this command on FBML to get data?
Here is detail of my code :
<input type="hidden" value="123" id="number"/>
<a href="#" onclick="new Dialog().showMessage('Dialog', documen...
I am trying to snatch the code of this fan page:
http://www.facebook.com/pages/See-oho-nieps-YothG-RRofiLe/106340746065367
I need the function that suggests the fan page to the users friends automatically (not for spamming purposes as the above fan page is used for). Now by looking at the source, I know that the code is under the pagele...
Im trying to understand how to learn reading the source of a facebook fan page. So far, I can only get the layout displayed while viewing the source.
Here is an example: If you go here:
http://www.facebook.com/pages/See-oho-nieps-YothG-RRofiLe/106340746065367#!/pages/Milton-Keynes-United-Kingdom/IF-MR-BEAN-WAS-IN-AVATAR-HE-WOULD-LOOK-LI...
how do i code a facebook quote application taking its data from php/mysql page generating quotes randomely? i've already developed one, but it's using jquery which fbml doesn't support and since i'd like the profile tab i'd rather go for fbml instead of iframe.
anyone have any ideas on how to do this without jquery or using fbjs? thank...
i tried one of the examples here to load the content in the div, but apart from displaying the image, it doesn't show anything. can anyone please point out where i'm going wrong?
ajax1.js:
function General_Refresh(url,div){
//Showing the load image (pay attention to /> of <img
document.getElementById(div).setInnerXHTML('<span id=...
here is the code
FB.ensureInit(function () {
var session = FB.Facebook.apiClient.get_session();
FB.Connect.requireSession(
function(){
console.log('connected');
var fbml = getIviteForm();
var dialog = new FB.UI. FBMLPopupDialog("Weblings Invite", fbml) ;
...
I need a FBML/FBJS code, which will reveal the text on the click of a button or image. Can anyone help me?
...
Hey all,
I tried my best to convert javascript to fbjs according to this page: http://wiki.developers.facebook.com/index.php/FBJS.
Yet my tabs are still not working properly. Does anyone have any suggestions how to fix this so I can click through the tabs and display and hide content accordingly:
<script type="text/javascript"><!--
va...
Hi,
This may sound very noobish but I have tried to read the forum posts and docs on javascript behavior on Facebook's profile tabs. I understand that profile tabs don't support referencing external javascript but even my inline tags are not showing up on profile pages.
In fact I am trying the fbjs-swf bridge and the code needed to i...
I'm trying to call a JS function from an SWF which is loaded inside an application tab. As a canvas FBML, the code is working correctly but in case of application tab it's not working.
AS3 Code:
protected function button1_clickHandler(event:MouseEvent):void
{
callFBJS(["insideFlex"])
}
protected function callFBJS(text:Array):void {
...
I'm trying to work out a Facebook-friendly way to do the following:
1) Click on a link
2) Open a URL in a new window
3) Go to a Facebook app URL
Both actions need to happen on the same click. Outside of Facebook, I'd just open a new window with an onclick with javascript. Facebook doesn't allow that (shocking).
I've also tried to o...
Hi All,
I have developed application in facebook. I want to show the insights for my app in facebook as facebook displaying in this url(http://www.facebook.com/insights/). Where are how to add meta tag in my webpage
window.fbAsyncInit = function() {
FB.init({appId: 'appid', status: true, cookie: true,
xfbml...
I want to use FBML as a canvas and would like to display a rich text editor like fckeditor or other. Can anybody out there help me out on this? e.g. to format text mainly bold,italics. Is it possible? how? I'm eager to learn more from the responder.
...
i'm not very well-versed with javascript, so please bear with me.
i've a form in which i validate the controls with javascript. the error is displayed when the fields are empty via a div, but when i focus and type something in the textbox, the div should go away. but the error div doesn't and even if i type something valid, it still di...
Hi,
i know facebook offers the UserID inside a facebook application-tab after the first "click".
But doest anyone have an example (fbjs/fbml) how this work in detail?
...
I'm modifying an existing FaceBook application. The FaceBook application is generated by another application, so I don't have much control over it. I can only add html/javascript.
My goal is to use FBJS to detect the current language setting of the user and display a different message depending on their language.
For example, if the us...
Hello all,
Getting an interesting error. I've been developing and application, and viewing it on it's page. Now I'm install that app in as tab on a company page and it's saying I can't use:
<fb:if-is-app-user>
in the tab view? How can I show or hide part of the page if the user viewing it is an app user?
Thanks in advance for the he...
Is my understanding correct, that in FaceBook development I can request application permissions (for user data, posting to his wall etc.) in 2 ways
by using some static permission-requesting fb-tags in html code
or by using facebook JavaScript libraries/objects for dealing with permissions?
If so, are these ways serving the same purp...
I'm finishing up creating a Facebook contest app. On all pages of the app is a link to our Rules and Regs. At the bottom of this page, I want to have a 'Back' button that will do just that...send the user back to whatever page they came from. However, I cannot use the simple traditional javscript:history.go(-1) method b/c FBJS doesn't...