开发者

Getting Started: FB C# on WP7

开发者 https://www.devze.com 2023-03-16 16:54 出处:网络
Sorry if this is somewhere in the Discussion history, but I didn\'t see a \"hello world wp7\" type sample here or in the Doc section.Is there a sample kicking around that I can use?

Sorry if this is somewhere in the Discussion history, but I didn't see a "hello world wp7" type sample here or in the Doc section. Is there a sample kicking around that I can use?

Here's what I'd like to do:

Use FB C# to integrate facebook like and facebook wal开发者_运维知识库l posts into my games (XNA based... not sure it matters thou).

1 I'd like to allow players to sign in using their facebook account and "like" a game

2 I'd like to save their sign-in state between game play sessions

3 When a player completes an objective e.g. kills a boss, I'd like to post a message along with picture to so their friends can see their accomplishment

... is this doable? Is there a sample for it?


It is most certainly possible to do this. There are probably not many (if any) samples floating around that would do exactly what you mentioned. I would recommend to go through the API documentation first. Also, remember that with the Mango SDK update, you now have access to ShareStatusTask and ShareLinkTask, that allow Facebook integration to be present in your application as long as an active Facebook account is registered with the device.

0

精彩评论

暂无评论...
验证码 换一张
取 消