It can be done with "&display=page" (or maybe "...=iframe").
http://developers.facebook.com/docs/reference/dialogs/#display
Printable View
It can be done with "&display=page" (or maybe "...=iframe").
http://developers.facebook.com/docs/reference/dialogs/#display
Thanks. I've bookmarked that page. I have a feeling I'll be doing a lot of reading. :)Quote:
Originally Posted by BHGames
so, does that mean that the login dialog can be avoided in a stand alone app? If so how is the login processed?Quote:
Originally Posted by Kracker
The login cannot be bypassed. It is a security measure. In the next beta I will add an option to do a popup window, or in the same page.
> In the next beta I will add an option to do a popup window, or in the same page.
Great! :)
I whipped up an example application last night. Hopefully it helps people out. It is called Quick Status (I couldn't think of a name :grin:) and is a cheap knockoff of Status Shuffle on Facebook. You can randomly pick a status or make your own and post to the wall. The full source is available below, but [color:#FF0000]make sure to change your app ID if you use this for your own use![/color]
Facebook App Page
Facebook App (Direct Link)
Source Files
Any chance to do this with mochimedia ads in game?
Also, any tips on how to gain $ from simple games with this? (If you can't use mochi)
Mochimedia ads should work, I think. As for money, you use credits on Facebook and it tells you how to get or give them.
First of all, great work on this extension! I'm looking forward to using it lots once it's stable. :)
I'd like to give you some feedback on Quick Status that reflects a problem that I've noticed in my own app. If I click on the login button and login to facebook the status next to the Clickteam logo changes to <MyName>(Logged In), as it should. However, refreshing the page once I've logged in or navigating away and navigating back, causes the status to become (Logged In) only. The <MyName> part disappears.
FYI, I've tested this on Firefox 4.01. Strangely on Chrome this doesn't happen and the <MyName> part displays properly.
I had the same problem in Firefox. It works fine in Chrome and Opera. I have no idea why this happens.
Great extension. It would be really nice to be able to query friends and groups for the currently logged user.
Stephen for president of the world
I'm having a strange bug. I cannot use "User Is Logged In" condition. When I try, the app redirects the page to the application's info page.
However, I can use its opposite or negated condition: NOT "User is Logged In", since it works ok.
Everything else, works as it should.
Fixed. It was some old javascript I forgot to delete in the html page.
Good to know. :)
Just an update: A new beta with friends, pics, etc is due out this week.
Great! What about "In the next beta I will add an option to do a popup window, or in the same page."?
Can the extension be used in global events? And is the object global?
It's global, and can be used in global events. I will also add the popup window option.
Great!
I have a teeny weeny problem. I put the Facebook.mfx file into my extensions folder but I can't find it when I choose to use an extension in MMF. Any solution to this?
Are you using at least build #251?
Oh no I'm not. I'll get right on that.
Yup it worked, sorry didn't think that'd be the problem.
any news on the update?Quote:
Originally Posted by StephenL
The biggest problem is the "pop-up"-blocker for the "facebook-login-to-app-screen" :)
I hope you can implement the fb-login without any popup!
The Facebook update is taking slightly longer than I thought due to my workload, but I will finish it up as soon as possible.
Can I "push" the "update" with a donation ? :P (i send you a pm)
any news on the update???
Sorry guys. My workload is quite full. I will finish the update when I have some free time.
OK, I can't seem to figure this extension out. I'm not trying to make a 'facebook app", I just want to have a button in my game to post the highscore to facebook.
Is this only possible through embedding the .swf in the example html and hosting it on my webspace, or can I just have a facebook button and let my game be hosted anywhere?
You can post to facebook from anywhere your swf is. It doesn't have to be on Facebook itself. Rememeber, you can't test it locally though, you have to upload it somewhere to test. :)
I created a facebook app ID, put my ID into the quick status example, compiled and uploaded to my webspace, and nothing happens when I click login.
I think I have the current build of Flash. Is there a way to tell other than the MMF splash screen?
Any other possible reasons this wouldn't be working?
OK, I got it to work.
I could only get it to function once I used the included .html and set up the 'canvas page' to point to my webspace.
I guess my real question was: can you use the facebook functions from an app that has no specific home on the internet, such as a .swf that gets distributed through Mochi?
My tests indicate no. Though, I'd like to be proven wrong.
any news on an update???
No. It has to be able to use the html included to work outside of Facebook.Quote:
Originally Posted by Pineapple
I have been updating this extension, but due to a heavy workload, it may be awhile before its finished.
I download the extension but I can't find any included .html file anywhere. I am doing something wrong?
CANCEL THAT> I WAS doing something wrong - I wasn't looking hard enough :)
I've tried to get this working online but when I run my app (which is just supposed to redirect to a new URL if logged on) nothing happens. Is there an example somewhere that I can use as a basis?
I've been integrating the index.html provided into my own index.html page but nothing happens. If I try the index.html page on it's own how am I supposed to customize my index page??
I can find examples for putting Apps on facebook but my aim is to use someones facebook login outside of facebook. Ie the user logs in to facebook >navigates to mysite.com and their facebook name is displayed. This is possible right?
I just found out the problem. In my index.html I had "myApp.SWF", but once I changed the case to "myApp.swf" it worked.
It's marked in uppercase in the example, so be careful out there.
It seems that Facebook has changed their api yet again due to all the interface changes lately, and I will have to rewrite most of the stuff I had added. I apologize for the delay of the next update. Blame FB. :(
This is the exact reason I'm causcios of using this extension. Facebook changes it's API quite frequently. Who will maintain this extension to keep up with facebook? I'm going to be unable to use this on commercial software if it's not going to be supported after the main release is out. It looks great but if it's not going to be maintained it's completely useless.