views:

37

answers:

0

I am currently making a facebook apps that require to send a news feed using stream.publish function, but it require me to have some kind of permission so I google and end up finding the function called GetExtendedPermission ... I tried to call this in my application but it gives this error.

ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment.

Do I have to setup the page to single-threaded ? If I have to , how do I do that.

I have made the page to single threaded but now another exception.

Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

related questions