Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

implement logout #1

Open
prabirshrestha opened this issue May 8, 2012 · 7 comments
Open

implement logout #1

prabirshrestha opened this issue May 8, 2012 · 7 comments

Comments

@prabirshrestha
Copy link
Member

No description provided.

@ManniAT
Copy link

ManniAT commented May 25, 2012

Would really be great - I played around for hours trying to get a logout on WP7
Without success....

@prabirshrestha
Copy link
Member Author

use fb.GetLogoutUrl() method.

@ManniAT
Copy link

ManniAT commented May 25, 2012

I did - and I get a URI - but what follows next?
and what are the parameters I have to pass got "GetLogoutUrl"?
I know the logout URL (and several possibilities)
http://dotnetslackers.com/articles/net/wp7Gesicht-windows-phone-7-facebook-integration-part-3.aspx#s8-logout-is-crazy--facebook-wont-let-you-go
BUT this does not mean that I can get it working on WP7.
So my hope was that you have deeper knoeledge...
And that you can / will implement it.

@ManniAT
Copy link

ManniAT commented May 25, 2012

By the way - the solution I posted on dotnetslackers worked years ago - but there have been changes in the SDK...

@prabirshrestha
Copy link
Member Author

checkout winforms sample on how to logout. https://github.com/facebook-csharp-sdk/facebook-winforms-sample

feel free to send us a pull request for wp7 logout.

var logoutUrl = fb.GetLogoutUrl(new
                                    {
                                        next = "https://www.facebook.com/connect/#_success.html",
                                        access_token = _accessToken
                                    });

Once you get the logout url navigate your browser control the the url.

@ManniAT
Copy link

ManniAT commented May 26, 2012

I got it :)
Thank you for this - my problem was that I formatted the logout URI a bit different.
Which works on iOS but not on WP7.
checking your logout URI I found the difference - gave it a try - and it works like a charm :)

@4rajesh
Copy link

4rajesh commented Jul 27, 2012

Hi I download the sample facebook-csharp-sdk / facebook-windows-phone-sample from this site, but in sample application the facebook.dll is missing/ not found the facebook reference, but in facebook-csharp-sdk zip also missing this dll.

from where i need to download this facebook.dll
Thanks
Rajesh

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants