Hi guys,
I am trying to figure out how to use the api of fitbit with xcode in swift. Unfortunately I can't figure out what steps I have to do to achieve this. The first thing is the registration of the app. They are asking for a callback url, I've never used a callback url before with any api. (weather api, pokemon api etc..)
Is there anyone who can make a step by step help/tutorial for me implicit for IOS in xcode with swift?
I would really appriacte this because I stuck now.. 😞
Anyway, for any question or for more information don't hesitate to contact me.
Kind Regards,
Kevin.
Best AnswerHi,
Thank you but this is objective c and not in swift mate.
I hope anyone else can help me out with setting up the fitbit api for xcode in the language swift!
Kind Regards,
Best Answer
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
kevinvugts wrote:Thank you but this is objective c and not in swift mate.
I hope anyone else can help me out with setting up the fitbit api for xcode in the language swift!
@kevinvugts It is in Swift.
Go here and cmd+f "Fitbit2":
{removed link - no longer exists}
Also might want to check this out:
http://stackoverflow.com/questions/17540357/call-back-url-for-ios-app
Our API docs is a good resource as well. Ultimately, this requires a bit of research on your end.
Best Answer
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
@SunsetRunner Looks like it was removed. You can still check out the project:
Best Answer
@AndrewFitbit wrote:@SunsetRunner Looks like it was removed. You can still check out the project:
https://github.com/OAuthSwift/OAuthSwift
THX ![]()
Best AnswerHi, I wrote one for myself based on several Alamofire tutorial. You can check it out here: https://github.com/caroline6927/QuickStartApp/blob/master/QuickStartApp/FitbitAPiHelper.swift
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @bunnyyy. Do you have questions about the callback URL or the sample code?
Best Answer
Best Answer