Desktop 0.8

MKFacebook Changes

  • -(void)setDisplayLoginAlerts:(BOOL)aBool; added
  • -(BOOL)displayLoginAlerts; added
  • -(void)setAlertsEnabled:(BOOL)aBool; removed
  • -(BOOL)alertsEnabled; removed

- new MKFacebookDelegate protocol



MKFacebookRequest Changes

  • -(void)setDisplayAPIErrorAlert:(BOOL)aBool; added
  • -(BOOL)displayAPIErrorAlert; added
  • +(id)requestUsingFacebookConnection:(MKFacebook *)aFacebookConnection delegate:(id)delegate selector:(SEL)aSelector; added
  • +(id)requestUsingFacebookConnection:(MKFacebook *)aFacebookConnection delegate:(id)delegate; added
  • -(void)facebookErrorResponseReceived:(id)errorResponse; ( delegate method ) added
  • -(void)setNumberOfRequestAttempts; added
  • -(void)setDisplayGeneralErrors:(BOOL)aBool; removed
  • -(BOOL)displayGeneralErrors; removed
  • -(void)receivedFacebookXMLErrorResponse:(id)failedResponse; ( delegate method ) removed

- MKFacebookRequests will automatically retry requests that fail with error 1, 2, or 4 error codes
- new notifications are available for displaying request activity
- new MKFacebookRequestDelegate protocol



MKFacebookRequestQueue Changes

  • -setTimeBetweenRequests:(float)watTime; added
  • -(float)timeBetweenRequests; added

- MKFacebookRequestQueue can now optionally pause between requests in order to try to prevent "too many requests" errors



New Class MKEventsRequest (incomplete)
- documentation incomplete

New Class MKPhotosRequest (incomplete)
- documentation incomplete

Other Things
- window used to display extended permissions no longer displays a title of "Login"

Documentation Updated
- http://pointlesscrap.net/sites/mkabefook/documentation/desktop/index.html

Infinite Sessions
Use -(void)grantExtendedPermission:(NSString *)aString; to present the user with a window that will let them receive an "infinite" session the next time they log in. Unfortunately the user will have to login one more time after this is called before -(void)loadPersistentSession; will work.

FYI
Anything marked as deprecated will be removed in 0.8.5.