Real Software Forums
http://forums.realsoftware.com/

Facebook App APIs
http://forums.realsoftware.com/viewtopic.php?f=23&t=43521
Page 1 of 2

Author:  JohnV [ Mon Apr 09, 2012 12:58 pm ]
Post subject:  Facebook App APIs

Is anyone else working on the Facebook APIs? Seems silly for us to do the work twice....

Author:  simulanics [ Mon Apr 09, 2012 10:12 pm ]
Post subject:  Re: Facebook App APIs

JohnV wrote:
Is anyone else working on the Facebook APIs? Seems silly for us to do the work twice....


Have done lots of work with Facebook API's :-) Do you need help?

Author:  sylvain [ Tue Apr 10, 2012 8:10 am ]
Post subject:  Re: Facebook App APIs

I'm really interested too !

Sylvain

Author:  simulanics [ Wed Apr 25, 2012 2:53 pm ]
Post subject:  Re: Facebook App APIs

will post an update and example soon. have been working on a lot of online apis

Author:  grossd [ Fri May 04, 2012 8:27 am ]
Post subject:  Re: Facebook App APIs

I would be much interested in a facebook integration also, to write a facebook app within an iframe.

Author:  rlitchfield [ Sun Oct 14, 2012 11:03 am ]
Post subject:  Re: Facebook App APIs

Admittedly this is a long dead string...but I'm looking for this type of information as well.

Thank you
RJL

Author:  simulanics [ Sun Oct 14, 2012 1:41 pm ]
Post subject:  Re: Facebook App APIs

Threads are never dead :-) apologies have been busy with large projects. I may have put the Facebook classes in the Real Studio Developer's Library..if not let me know so I can add it. The library is downloadable here in the forums (just do a search for RSDS) hopefully you find the library helpful..

Author:  vtarondeau [ Sun Oct 21, 2012 7:53 am ]
Post subject:  Re: Facebook App APIs

Hello

I've downloaded the last RSDS library and couldn't find the facebook API.
Should it be there ?

Thanks

Valery

Author:  rlitchfield [ Sun Oct 21, 2012 12:59 pm ]
Post subject:  Re: Facebook App APIs

Found code around Google and Paypal (which is nice), but nothing for Facebook.

RJL

Author:  simulanics [ Wed Oct 24, 2012 10:39 am ]
Post subject:  Re: Facebook App APIs

Ok :-) apologies... I will PM the 4 of you with the code as well as quick little example..and add both to the public library. On the road at the moment..

Author:  rlitchfield [ Sat Oct 27, 2012 10:45 am ]
Post subject:  Re: Facebook App APIs

simulanics wrote:
Ok :-) apologies... I will PM the 4 of you with the code as well as quick little example..and add both to the public library. On the road at the moment..


Looking forward to it. :)

RJL

Author:  simulanics [ Tue Oct 30, 2012 2:01 am ]
Post subject:  Re: Facebook App APIs

I'm currently commenting an extremely large example of a Web Edition App I made which replicates a desktop senario....currently adding user profile and image hooks from within the environment...the example basically re-writes facebook as a desktop application (can use the classes for desktop or web edition..just need a key from developers.facebook.com)... it's just to demonstrate Real Studio Web Edition and Facebook seamless integration :-)

until I'm finished commenting the current code..and add the additions to the demo for a "complete" (almost...) example of Facebook API's...take a look at what exists

http://apps.facebook.com/simulanicsdemo/

You can create a new user (which links to your facebook ID) or enter as user demo/demo (demo acct has been disabled with ID linking for quick access of those whom don't have facebook accounts)

If you can think of particular features or methods you might like me to add to the classes please make a suggestion...currently the classes can access a users friend list, access friends by groups, access groups, images, timeline by array, timeline by dictionary(by date), user's application list, can login a user using facebook connector (now required by facebook), can post text as well as attachments to a users timeline, access message, pokes, birthdays, and user information.

Author:  simulanics [ Tue Oct 30, 2012 10:59 am ]
Post subject:  Re: Facebook App APIs

Sorry for the delay..here is my 1st of the 2 examples using my custom "Simulanics FacebookAPI Class"..this is how to retrieve information from facebook using APIs and FQL queries...

my next example will be how to post to profiles, create events, rsvp to events, send messages, read and delete messages, and lots more

Image

Example Source: http://www.realstudiodevspot.com/demos/FacebookAPI.rbp

I have decided to post it here instead of private messaging you all the source...
The appID is valid...I would prefer you get your own at developers.facebook.com. The example working appid will remain active for a short time....

Since you are authorizing your account access to the software, please visit

http://www.facebook.com/appcenter/my

after testing this example and unauthorized simulanicsdemo from your applications to prevent anyone from using the APPID to access your account from the privileges you gave access to when authorizing the program. To avoid this step all together, create your own application (FREE) at developers.facebook.com and obtain a unique APPID. You WILL NOT want to share your appid in a live environment...

Author:  simulanics [ Tue Oct 30, 2012 10:11 pm ]
Post subject:  Re: Facebook App APIs

FORGOT TO MENTION THAT OBJECT ID's ARE INTERCHANGEABLE...
NUMBERS OR NAMES!
"1156454917" is the same as "mattcombatti"

I just updated the screenshot and added more support to the class. The class now supports all 42 Facebook objects and supports Facebook's FQL (SQL style searching). The example demonstrates posting to a profile and retrieving all user and friend information. If you have any questions about the demo...please ask.

METHODS

FB_Accounts
FB_Achievements
FB_Activities
FB_AppRequests
FB_Books
FB_CheckIns
FB_FB_CreateCheckin
FB_CreateStatus
FB_Events
FB_Family
FB_FriendLists
FB_FriendRequests
FB_Friends
FB_Games
FB_Groups
FB_Home
FB_Inbox
FB_Interests
FB_Likes
FB_Links
FB_LoginBasic
FB_LoginExtended
FB_Movies
FB_Music
FB_MutualFriends
FB_NewsFeed
FB_Notes
FB_Notifications
FB_Object
FB_ObjectsWithLocations
FB_Object_Photo
FB_Outbox
FB_Permissions
FB_PhotoAlbums
FB_PhotosUploaded
FB_PhotoTags
FB_Picture
FB_Pokes
FB_ProfileFeed
FB_Scores
FB_Statuses
FB_SubscribedTo
FB_Subscribers
FB_Tagged
FB_Television
FB_Updates
FB_UserField
FB_VideoTags
FB_VideoUploads
FQLSelect

PROPERTIES
APP_ID
Expires_In

EVENTS
API_ERROR
User_Authenticated

I am working on documentation as well... The update is still located at the original download link. Have to update "Mutual Friends" code as Facebook just finished implementing a totally new API...the old method works (sometimes) but is now depreciated..I will be updating this...

Author:  simulanics [ Thu Nov 01, 2012 4:09 am ]
Post subject:  New Facebook API Classes Update

I have updated the download link with a new demo version which introduces a few new things and shows how to use an additional custom class included to simplify accessing Facebook objects by name (example TextField1.text = User1.first_name) rather than having to parse the JSON string...the class will do it for you...

The new update shows how to load a users profile and loads friends into a listbox by name, when clicked loads their profile and information I selected for the demo into Real Studio controls! You can post directly to their wall (or yours if you specify user "me" or your username or ID). I'll be adding the user wall with a "reload" button to the mock facebook interface demo included. You'll be amazed how simple it actually gets.

**Note found in Source Download

Currently Developing a demonstration of how to create events, remove events, or rsvp yes/no/maybe. You will also learn to do the same for friendrequest (add/remove), posts, checkins, comments, tags, likes, etc. I will also create a mock "Mailbox" with inbox, outbox, and compose with a drop-down selection of friends to send a message to from a combo-box, or enter an ID or username of someone not found in your friends list. You will learn to upload photos, tag photos, delete photos, comment on photos...and do the same for videos. I will go more in depth into using the FQL query method and show you how to perform a Facebook search (of everything on facebook) and how to load insights and Trends with time/date specifications (which can be applied to posts, notes, etc as well). Soon, I will develop a Web Edition Demo which uses the Web Edition Version of the Simulanics FacebookAPI Core Class (Identical to the desktop core included in this demo but utilizes javascript methods in place of sockets). The remaining classes can still hook the FacebookAPI Core, but will need to be specified as within the initial "Load" event found under the User Page tab example of the "mock Facebook interface." If desired, I can also demonstrate modifying your profile (you cannot modify another user's account information).

Any questions anyone? Is this what you all were are looking for? I can make demos which encompass what you are looking to achieve in desktop or web edition for proof-of-concept of Realbasic and Facebook seamless integration by use of classes. The current classes are framework oriented so that they can be expanded as Facebook's API expands, meaning that you don't have to wait for an update to the classes before accessing the newest latest API additions. Facebook recently adopted a standard for their API and have been changing all previous APIs to reflect the standard. The classes are fully Facebook API Standard compliant.

DOWNLOAD SOURCE - http://www.realstudiodevspot.com/demos/FacebookAPI.rbp

Page 1 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/