I am developing a game for windows store/phone using unity and want to share score on facebook and other platforms using share charm. I have a button in my scene but I am unable to invoke share charm through it programatically. I tried using
DataTransferManager.ShowShareUI();
but it gives me following error:
activating a single-threaded class from mta is not supported
Can anyone tell me how can I achieve my desired functionality?