hi
i found this a week ago, and im getting stuck :
http://developers.facebook.com/docs/guides/mobile
it looks easy but, my lack of "C" skill's is killing me
any help?
can this work on glBasic?
10x
p.s
adding facebook connect will jump start any iphone app :)
just watch doodle jumo
The easiest way would be to make a html website that does that for you and call that with NETWEBEND("http://mysite.com/facebook.html?text="Post+this+to+my+wall")
See:
http://developers.facebook.com/docs/guides/web/ (http://developers.facebook.com/docs/guides/web/)
OK. This seems to be an issue for more people. I will host such a script if anyone wants to help me writing it.
The script should work like this:
http://www.glbasic.com/facebook.php?text=url_encoded_string
Can someone please assist?
I presume if you were launching the NETWEBEND command from within an iPhone app your script could check for the user-agent and deliver the correct content to ALLOW the facebook connection and look correct on the iPhone/iPad display?
The server side script still returns Javascript. A general issue which would mean automatically switching from the app to Safari, then back manually back again.
The client libraries for iPhone and Android seem to have it's own interface, which would go on top of the app, although I haven't really looked in to it much yet.
That way we would get a cross platform thing for facebook. I prefer that much over some iPhone native stuff. Next scream will be WebOS and Android then.
Yes, NETWEBEND - where the "END" would "Pause" if you set AUTOPAUSE TRUE (or was is allowescape?)
In respect to cross platforming, how can anything run locally in Javascript without a browser?
Not at all? I'd run a webpage in a browser that does it.
How would GLB interact with the iOS web browser?
NETWEBEND - I mean for facebook you only need to "post" a single string and done. Right?
I don't believe it's that simple because the JS returns the form for posting.
Looking around through: https://github.com/facebook/php-sdk (https://github.com/facebook/php-sdk), it seems that you can post using PHP once the user has logged in and granted permissions, so you have to handle the login problem somehow. Worse still, I think the login is done by sending the user to a URL given by a Facebook PHP function...
https://github.com/facebook/php-sdk/blob/master/examples/example.php (https://github.com/facebook/php-sdk/blob/master/examples/example.php) seems like a pretty easy place to start.
You have an app ID and an internal security key.
Both can be provided with some sort of call.
Then, the user has to grant permission for this App ID, and from then on, you can post to that pinboard.
That's how I understand it. So, once it's hosted on glbasic.com - even if you grant permission for app "foo", you're not allowed to post from app "bar" without explicitly allowing that one as well...
I didn't quite understand the "passowrd" thing.
Any progress Kitty?
If you want me doing something just PM me or whatever.
If by the password thing you mean the 'secret' code, it is just like a password. When you create an app (I made one as a test), the developer page gives you the ID and the 'secret' code for authentification purposes.
I think you're right - the user just has to go onto your app on Facebook to grant the permissions, and then you're free to post to their wall via php.
Serpent 1 quick question mate.
You created your app, good.
Did you have to give your mobile details or bank card details?
Thing is I just dont wana give my card details to create an app just for testing. And my mobile doesnt support any of the cards listed for this purpose. Just crap like always. Getting something simple up has so many stupid steps.
Yes unfortunately - I gave phone details. I was a bit annoyed by that as well, but it was all easy for me.
Thanks for that mate. Dunno if to do it now :(
Not keen on giving bank details for something like that.
Unfortunately our lives are been recorded on networks lol.
The next bit is to ask for some of your hair or some other body part for verification. lol :D