I would like to create a web application that would have access to the user's Apple Calendar for a personal project. But I really don't want to store the user's password.
With Google it was really easy using OpenAuth.
I know it is definitely possible as SunRise is doing it - http://techcrunch.com/2014/01/31/sunrise-calendar-stops-sending-icloud-credentials-to-their-servers/
I've searched Apple documentation and the closest thing i found was CloudKit. But it looks like it only provides a way to access your App's data across all the places. No mention of iCloud services.
Am i going in the right direction or is there a more direct way of doing this? Or is SunRise bluffing :)
Related
I have a project where I want to store docs in a Google Cloud Bucket. These docs should not be publicly accessible. Right now, I am able to place documents in the bucket, but I can't seem to figure out how to retrieve them while keeping the bucket secure. *If I open up access to "allUsers", the docs load fine. However, I want these docs to only be accessible if they are using the system.
I'm sure I'm not the first person to want to do this, but I can't seem to come up with an answer on Google.
I have hit dead ends for days now, so please help! *To be clear, I do not have any code to show. Thanks
The answer of #DanielOcando is right if "they are using the system" means that they are accessing directly GCP. For this answer, I'm assuming that "your system" is an application that you are developing or something similar.
For this approach, the safest method is to use signed URL's This will let your users access your documents without the need to have a Google account, you can also set an expire time for this URL's to control how much time the user can be using the documents.
I have done some research, looking for the right answer, but nothing was specific. First of all, I saw sites on how to create a cookie, but it was not clear how it would be useful for me.
Recently, I was buying a gift for someone and went to a clothing store online. I purchased some items, no when I go to Facebook, for example, I see that clothing stores ads. I assume there was a cookie put on my computer, in my temp folder, and then Facebook knows to show that ad.
I want to do something similar, but with Google Adwords. When people go to my website, I want to add a cookie to the user's computer so that when they see Google ads, either through the Display Network or in the Search Network, my Google Ad will come up because they had already shown an interest in my product/service by coming to my site.
This is obviously possible with Facebook ads, but can I do it with Google Ads? I would like to know how to do this. Any details or step-by-step resources would be greatly appreciated.
You can do this with remarketing: https://support.google.com/adwords/answer/2453998?hl=en
I'm making a game with the map, where shows the levels of player, like in Candy Crush. I need to show player's friends near levels, which they achieved. I can retrieve friends and their avatars from Facebook, but I need to know, which level they achieved, to set them the right place. I’m using Cocos2d-x 3.8.1 and Facebook SDK v.4.7.
So, my question: which is the preferred way to store data about levels? Can Facebook keep game's info, or I need to use only third-party servers, like Parse.com? I looked for this in .h files Facebook’s SDK and in SDKBOX, but I found nothing.
If storing on Facebook is possible, I would see the Facebook methods for this.
You have to store that on your own, there is no API for levels and stuff. There is only the Scores API and the Achievements API:
https://developers.facebook.com/docs/games/scores
https://developers.facebook.com/docs/games/achievements
How you store additional game info is up to you. You can use your own server with MySQL, MongoDB or whatever you like. Or you can use a cloud storage provider like Parse.
I am writing this question after considerable investigation into this matter.
I have gone through Google's easy dashboards (gadash JS library), superProxy and plain analytics API, and couldn't find the best solution for my needs, although I can't believe my needs are so uncommon.
This is why I am turning to you, I have got a feeling I am missing something.
My requirement:
Display my own analytics account data to users on my website, preferably with Google's chart API or ga-dash, to resemble google analytics views as much as possible.
Users will not have to take part in authentication with Google API
Each user has his own query which is built dynamically !! (this is probably why superProxy cannot work for me because I think you need to manually set the queries in advance)
I use django-python as the basis for my website
problems with solutions I tried:
GAdash library - the problem is that each user has to be authenticated, and shown their own data, meaning they need access to my profile- that's simply not what I am looking for. It works great, but only for me. On the other hand if there was a way to make my profile truly public...
superProxy - sounds like a solution for this need exactly, however I don't think that you can programmatically set the queries.
I did find a way to retrieve the data for a query on the server side using my own credential which is a bit hacky, I am still missing that JS library which will parse this XML on the client side and display it as charts.
EDIT:
I ended up using Mark's solution (embeddedanalytics), since I could not find a better, easier solution.
Other alternatives were:
1. superProxy (lacking the ability to dynamically, programmatically loading new queries)
2. gaDash library - requires authentication from each user
3. Implement my own server side querying, and display to the user with some js graphics library - which would require considerable work on my side.
Check out www.embeddedanalytics.com. This is a platform/service which will do exactly what you are looking to do (disclosure - I work with them).
We also support your requirement that each user have its own dynamically built query. This is what we call our CMS Integration version. Are you trying to create a dashboard system for a CMS system you have built?
I am trying to build an application with ColdFusion.
I've been reading documentation and trying things out for days and for the life of my I can't seem to figure out how to display my own data to users from Google's APIs using OAuth2.
For example, I want to be able to display some of my stats to users with the Google Analytics API. How many unique hits, page views my site gets and from what countries. The data is private, however, so there isn't a way to do so. Or YouTube just changed their API so video tags can no longer be seen unless logged in. I want to be able to show my video tags so they can search for related things on my own site, but I can't pull them because I'm unsure of how to do this.
I know how to display and manipulate public data, but when it comes to private data, I'm at a complete loss. OAuth2 is kicking my butt!
Is there anybody that can please, please help me with OAuth2 so that I can allow my users to see my private Google data without there being any kind of log in process for them? Examples using ColdFusion would be so much appreciated.
The answer is more or less what I said at How to retrieve my own private playlist through YouTube API?
You'd want to use the OAuth 2 for Installed Applications flow, and generate new access tokens via your refresh token when your old access token expires. I'm not familiar with any libraries for doing OAuth 2 in Cold Fusion, though.