Try the search, it's linked to some great forums

Saturday, January 17, 2015

Facebook Integration notes

Notes & research;
FB Graph API URL - https://developers.facebook.com/docs/graph-api/common-scenarios

From FBs documentation
Uploading Photos and Creating Photo Albums
Apps are able to publish and create new photo albums, and publish photos via the Graph API on behalf of people or Facebook Pages. Photos can be uploaded by sending the actual image files, or by using URLs of images already on the internet.
Read These Docs
Use These APIs
 Other links:
Good Wenderlich tutorial - http://www.raywenderlich.com/1626/facebook-tutorial-for-ios-how-to-post-to-a-user-wall-upload-photos-and-add-a-like-button-from-your-iphone-app

More Info from FBs API
Telling Stories with Open Graph
Open Graph lets apps tell stories on Facebook through a structured, strongly typed API.
People use stories to share the things they're doing, the people they're doing them with and the places where they happen. Open Graph lets you integrate apps deeply into the Facebook experience, which increases engagement, distribution and growth.
FBs tutorial for an Open Graph Story integration - https://developers.facebook.com/docs/ios/open-graph

Stunning example of FBs Story photo album  I take back what I said about FBs slideshow features!
https://www.facebook.com/fanpage.it/posts/945924002095941

Sunday, January 4, 2015

Google Drive API Integration

These are various notes & references for theabove task;

DrEdit is a sample/template app from Google that allows The User to log on to their personal Google Drive and access files.  I am integrating it into the RouteTracker app.

Changing folder view - http://stackoverflow.com/questions/14603432/listing-all-files-from-specified-folders-in-google-drive-through-ios-google-driv?rq=1
Another thread - http://stackoverflow.com/questions/20391734/listing-all-files-and-folders-from-google-drive-in-dredit
Beginning to understand the Query process - http://stackoverflow.com/questions/16527415/google-drive-sdk-for-ios-issue-with-queries

We had a problem with compiling ARC and nonARC (retain, release) files.  The older DrEdit project was non ARC & would not compile with my newer ARC built file.  This post fixed it - http://www.codeography.com/2011/10/10/making-arc-and-non-arc-play-nice.html Trick is to add -fno-objc-arc  to the compile sources for each file that creates an error. Cludgey!

CoreLocation setup - iOS 8 requires a new means of setting up user location enabling in your app.  This post explains everything in good detail - http://nevan.net/2014/09/core-location-manager-changes-in-ios-8/.  Don't forget to add the new NSLocationWhenInUseUsageDescription key into the pList.

NSUserDefaults - This class is used to store app parameters & other values needed to be passed around to the various controllers.  Here's a nice tutorial- http://www.idev101.com/code/Objective-C/Saving_Data/NSUserDefaults.html