Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Aug 18, 2017 3:14 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Facebook App APIs
PostPosted: Mon Apr 09, 2012 12:58 pm 
Offline

Joined: Sun Jan 28, 2007 2:38 pm
Posts: 231
Is anyone else working on the Facebook APIs? Seems silly for us to do the work twice....


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Mon Apr 09, 2012 10:12 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
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?

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Tue Apr 10, 2012 8:10 am 
Offline

Joined: Mon Nov 07, 2011 11:22 am
Posts: 18
I'm really interested too !

Sylvain


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Wed Apr 25, 2012 2:53 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
will post an update and example soon. have been working on a lot of online apis

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Fri May 04, 2012 8:27 am 
Offline

Joined: Mon Feb 06, 2012 2:32 pm
Posts: 20
I would be much interested in a facebook integration also, to write a facebook app within an iframe.


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Sun Oct 14, 2012 11:03 am 
Offline

Joined: Thu Feb 25, 2010 4:50 pm
Posts: 105
Admittedly this is a long dead string...but I'm looking for this type of information as well.

Thank you
RJL


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Sun Oct 14, 2012 1:41 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
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..

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Sun Oct 21, 2012 7:53 am 
Offline

Joined: Wed Apr 13, 2011 2:07 pm
Posts: 30
Hello

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

Thanks

Valery


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Sun Oct 21, 2012 12:59 pm 
Offline

Joined: Thu Feb 25, 2010 4:50 pm
Posts: 105
Found code around Google and Paypal (which is nice), but nothing for Facebook.

RJL


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Wed Oct 24, 2012 10:39 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
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..

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Sat Oct 27, 2012 10:45 am 
Offline

Joined: Thu Feb 25, 2010 4:50 pm
Posts: 105
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Tue Oct 30, 2012 2:01 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
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.

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Tue Oct 30, 2012 10:59 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
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...

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Facebook App APIs
PostPosted: Tue Oct 30, 2012 10:11 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
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...

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: New Facebook API Classes Update
PostPosted: Thu Nov 01, 2012 4:09 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
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

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group