how to get change of relationship?
of course , we can get current relationship status, (graph api , "me" )
but how to get history? for example, maybe 1/1/2000 change married status from single to married. i want to get this change.....
i also try to use "me/feed" , still can not get change of relationship.....
if facebook API doesn't support this feature, can i get information via grab facebook page/html ?
development platform : c# / asp.net
History data like this isn't available from Facebook. What your app could do is use the real-time updates api to subscribe to profile changes and build up that history of the user on your own server.
Related
I wanted to extract users count from application insight inside my web application and was going through the document for the rest API
https://dev.applicationinsights.io/
I am not sure if API response contains user count?If this is not the way is there a way to get data specifically user count from app insight?
Have you tried
GET /users/count
check the title
Metric metadata: getting a list of metrics under Default metrics.
I am trying to keep track of the livestream viewers of a specific channel.
This is no problem when I have got the stream ID and use it manually.
However I want my program to be able to track upcoming livestream automatically. So I want to get the livestream ID from the channel for the next upcoming livestream. I have been looking through the documentation from the API, but I couldn't find anything.
What API call do I need to make?
You cannot get the liveBroadcast or liveStream object that does not belong to the user or channel you are authenticated as. The list endpoint for each object requires you to authenticate as your own channel/user to retrieve your own live events only.
If you want to retrieve information on another channel's current live broadcasts, you have to use the standard Search/list endpoint:
part -> snippet
channelId -> [channelId of the channel/user with the live event]
eventType -> live
type -> video (required when setting eventType to live)
HTTP GET https://www.googleapis.com/youtube/v3/search?part=snippet&channelId={channelId}&eventType=live&type=video&key={YOUR_API_KEY}
My customer wants to track backend user's activity using google-analytics. He wants me to insert UserId in every URL of the backend. Backend is ASP.NET MVC3 and I tried to use routing for this purpose but without any luck.
I thought about more intellegent way to satisfy his need. So I'm thinking about calling google-analytics api from the server-side.
Is there an ability to do all that ga.js does but from c#?
Updated:
Customer wants to track user's activity using Google Analytics.
He wants me to add ?userId= to all links in backend.
So if I had /Category/Edit/123 now I have to change it to /Category/Edit/123?userId=456
Then I put ga.js to every page and customer tracks user's (456) activity.
I find the idea of using Google Analytics this way sucks but I have to implement some solution. The only thing I want is not to change urls but act with Google Analytics API from the server side.
Ok. Here is what think I actually needed:
1) Create Custim Dimension in Google Analytics console
Admin -> Custom Definitions -> Custom Dimensions -> New Custom Dimension -> userId
2) Modify my Google Analytics javascript and insert
var userId = #User.Id;
ga('set', 'dimension1', userId);
before ga("send", "pageview");
OR
use this solution
https://developers.google.com/analytics/devguides/collection/analyticsjs/user-id?hl=en
I am using Facebook Graph API to retrieve post information of user from Facebook profile.
i am writing "/me/feed?fields=id" in Graph API Explorer for retrieve post of user, it gives me list of id.
but when i try to do same thing from code in c# .net than it gives me different list of ids.
my code is like
dynamic result = client.Get("me/feed?fields=id");
i have did same thing in both but both gives me different result.
can any tell me why this happen ? where i am wrong ?
Thank you
Is it possible for an XNA game/app to obtain it's own store link url through code or would I have to submit an app, wait for it's store link to become available and release an update including the store link?
Basically I want the player to be able to post his or her score to any social networks set up along with a link to the store page.
-Short question I know but my Google-Fu failed me this time.
To get a store URL, you will need to get hold of the app id. This is done by calling GetManifestAttributeValue. Note that the actual app id (Product ID) is generated when the app is published, and is different than the temporary one that is in WMAppManifest.xml. This causes a chicken and egg scenario when it comes to testing this.
See this for detailed instructions:
http://code.msdn.microsoft.com/Generating-a-Windows-Phone-9d19f939/
If all you need is to link to store from within your app, then use MarketplaceDetailTask to launch to the store. Leave ContentIdentifier as null and it will attempt to bring up the detail page of the current app. If you need to bring up the detail page of a different app, then you will need to know the app id, which you can only get after that app has been published.
http://msdn.microsoft.com/en-us/library/hh394017%28v=vs.92%29.aspx