Asana: Does API provide user activity logs? - api

Does the Asana API provide some method of getting user activity logs? I am interested in activity logs and login history logs.Logs could look e.g like "user created a task xyz", "user created a project".
I went through the documentation and could not find any such API/REST Endpoint. Does Asana keep such logs
in their system? If yes then is there a way to get them? If not then is it planned in a future release of the API?

(Asana dev here.)
This isn't something we currently provide. We're working on a system for getting semi-realtime updates to "subscriptions", but we were primarily thinking about subscribing to tasks, projects, workspaces, and so on. Subscribing to a user's activity would be an interesting use case, but one we haven't considered up until now, and one that might be a bit trickier.
Thanks for the feedback!

Related

Azure App Insights, is there a way to query for thread count details?

this question is mostly for DevOps experts, in app insights.
So I found I have an issue on my app, it seems some threads are being created and not released, causing the thread count to increase and ending at some point in the "CGI error", which usually happens when you exceed your quota in any resource.
I already identified the exceeded resource is thread count thanks to this Metrics option, which gives you a graphical representation on how it is being consumed (and released when an app restart happens)
I would like to have some details on this, not the grouped information but the actual information that is giving this graph, any lead would help me to understand which place is creating and not releasing threads, a namespace, a class name, anything.
Is there another place where I could get this information in a very detailed way? AppInsight queries seems to lack this metric.
Thanks in advance.
AFAIK there is no direct way to do this. The only way that I can see is by adding custom logging inside your application and sending the logs to a Log Analytics Workspace.
Inside your function app in the portal go to 'Diagnostic settings' and connect to your log analytics workspace (if it doesn't exist create one).
Inside the log analytics workspace you will find your custom logs either under a 'Custom Logs' tab or under 'Application Insights' tab, after this find the correct field and parse, something like:
customMetrics
| extend d=parse_json(customDimensions)
| extend processSessionId=d.processSessionId
For Azure related topics there is also a decent Q&A platform here:
https://learn.microsoft.com/en-us/answers/products/azure?product=all
For KSQL this is a handy page:
https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tutorial?pivots=azuremonitor
Hope this helps somewhat

I want to receive realtime notifications for my workday

We are working on a use-case where in we need to get real time updates from Workday systems for the events occurring in Workday Systems.
I tried to understand the given documentation but I was not able to understand. I want to get the notifications at an http end point. Please help me get started with the notifications.
You can do this via Integration Subscriptions and the Notification web service.
Take a look at Workday's documentation on Workday's internal community on how to set this up. A good search phrase would be "Integration Subscription". Essentially, you can subscribe an integration to business processes, and then trigger the integration to kick off and send a notification to an external endpoint.
I've created a contributed solution on Workday Community with more detailed instructions: https://community.workday.com/node/571590

Getting permissions for using instagram api

I have made an android application that enables advertisers to count the posts each one of their followers/followings have liked. this way they'll be able to understand which one of them is more active and which one is not, I also have added another feature for sending like requests to the followers/followings by leaving a like on their most recent post and leaving a comment that tells them "I liked your posts come and like my posts".
I registered a submission and explained everything as they wanted, but they declined my submission :(
Now my question is How should I explain it for them or WHAT CHANGES should I apply to my application so they approve it.
This is their answer:
General issues:
Invalid Use Case: The use case described in your submission notes,
screencast and website is not a valid use case. If you are trying to
build analytics for personal use or one-off projects, note that we do
not support one-off and single use projects. We recommend that you use
a third-party platform that powers this use case. If you are building
a platform for this use case, we will only approve one client ID for
all your integrations. For more information, please see:
https://www.instagram.com/developer/review/ Policy Violation ("Like",
"Follow", "Comment" Exchange Program): Your app shouldn't participate,
enable or promote any “like”, “share”, “comment” or “follower”
exchange programs. In working to build a high quality platform
experience, we ask that you comply with our Platform Policy
(http://wwww.instagram.com/about/legal/terms/api/).
I have to say my application is not a ONE-OFF application, as the number of liked posts vary from time to time, so the user will check this application almost every day.
I also have added another feature for sending like requests to the
followers/followings by leaving a like on their most recent post and
leaving a comment that tells them "I liked your posts come and like my
posts".
This is against the API policy:
Your app shouldn't participate, enable or promote any “like”, “share”,
“comment” or “follower” exchange programs.

Is there a way to register an application on Google+ like on Facebook?

In particular I'm interested in the possibility of getting an App Access Token with no expiration time, exactly as I do with Facebook.
I want to publish on behalf of the user via server, and I found very useful and convenient the Facebook's procedure in which we ask for the user permissions only the first time.
I have been working with this kind of social-networks interaction for merely three weeks, so I will be very happy to hear any type of suggestions or critics.
Google+ does not currently have a public write API. There are selected partners that they work with (such as HootSuite) that provide this feature, but they are making access to it available very slowly. See https://developers.google.com/+/api/pages-signup for further details.
Google+ does have a concept of Moments, which are activities that happen in your app that are reported to Google+ and which the user may later wish to share, or may make available to people in their circles on a limited non-notification basis. This is probably not what you want, but may serve some needs. See https://developers.google.com/+/api/latest/moments for more info and examples how to use it.
Simply, No there is no way to do that in Google+ in current time. In general, apps for Google plus is read only.

Will we be able to access life events on a timeline?

Is Facebook planning to add functionality to allow developers to access the new "life events" posted on a user's timeline?
How about those posted on a friend's timeline?
Thanks!
Life events are not currently readable via the API for a user or their friends.
Keep an eye on the updates at http://developers.facebook.com/blog which is where we'll announce this functionality if and when its it built.
if you're building an app which wants to publish life events, the best current suggestion is to model them as custom actions and custom objects on the open graph and build timeline aggregations which show these objects off to at their best.
The bug reported on facebook about this issue was closed on 3rd October 2013. So, I don't think anybody at Facebook is working on making this feature available via API.
Read: https://developers.facebook.com/x/bugs/121450681328551/