Calling the SKY API from a Desktop Application (VB/VBA)
Hello All,
I am working in VBA and need to develop a way to interact with the SKY API from a desktop application (MS Access).
Does anyone out there have any experience with this or with something similar? Can you point me to any guides or code samples that can assist me?
I previously built a utility in VBA to interact with SalesForce (which also uses OAuth+Restful) but SalesForce doesn't require the user to login to the BLKB website as a part of the authorization process. While I haven't actually started work on this yet, I am concerned about both passing the necessary variables to the browser and then collecting the token generated by that process.
Any help or guidance on how to do this would be greatly appreciated.
Comments
-
@Brandon Amancio
There are quite a few discussion topic on running standalone, the basic idea is to get the authentication token (1 way to do so is using postman). Once you have the token, you will also get a refresh token. TOken is good for 60 minutes while refresh token is good for 365 days.You can use refresh token to get new token without user interaction.
0 -
@Alex Wong Thank you for that info, but that isn't going to work for me. This utility is built into our software. It will be used directly by our clients so the process needs to be self contained within the application. I understand that I will need to launch a web browser so that the user can self authenticate, but otherwise, it all needs to be self contained within our application.
0 -
@Brandon Amancio
You don’t necessarily need to launch a web browser. In fact that’s harder now that the native IE-based WebBrowser control isn’t useable.We used to do this in our SKYLib.NET code library but now we just display the web link in a basic form for the user to paste into their own (supported) browser. They then paste back the returned auth code and away we go. Perhaps try that approach.
Contact me by DM if you want more info.
1 -
@Brandon Amancio
what I mentioned does not require user to self authenticate.User (you) authenticate 1x through postman to get refresh token and token. store this (securely) somewhere that your application can read from. before you make an API call, you app will call another API endpoint and provide the refresh token (along with other important info) to get a authenitcation token for use in subsequent API call.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 403 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 656 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 940 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 249 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
