Retrieve facebook contact's birthday and add to google calendar for WP7
php
or something equal (c#
/js
) ?
I need to get all of my facebook contacts (but only contacts with birthday) to create a text file compatible with google calendar?
In my Windows 开发者_Go百科Phone 7 i would to show birthday from google calendar.How to do it?
What library i need?thanks
Assuming that you want to do this on a phone you don't need to use PHP.
To do the Facebook integration, you should look at the Facebook C# SDK.
For Google Calendar integration, look at their Data API Developer's Guide.
You can do this in HTML and Javascript only, you don't have to use C#.
See http://developers.facebook.com/blog/post/481 - it's a sample where you pull the movies your friends like and then the movies are ranked by number of likes. Though it's not directly related to what you want, it shows how to authenticate and work with the facebook API using Javascript.
For your task specifically, look into the friendslist API -http://developers.facebook.com/docs/reference/api/FriendList/
精彩评论