-
Notifications
You must be signed in to change notification settings - Fork 101
ShowRequestsDialogAsync doesn't loads the friends on W8.1 #135
Comments
|
I think we now have a workaround for this problem. You will need to use the branch
Expounding on caveat 2, the WebAuth dialogs expect to be redirected to Once you've added a new valid OAuth redirect URI to the app's settings, you need to specify this redirect url to the sdk. This can be done like:
You can set this at the same time you're setting up the Windows app ID and the Facebook app ID. In order for the correct data to come back from a call to show one of the dialogs (ex. Please let us know if this fixes the problem. |
Hello, I didn't tested properly the request functionality because I'm trying to create a redirect page. Update: Regards, |
Yes, the new method of displaying the dialogs is only used when To fix that error message, you will need to do some additional configuration in the Facebook settings for the app. In settings => basic, you will need click "Add Platform" and select "Website". The you will need to set both the "App Domains" and the "Site URL" to the website name (ex. |
Hello adiviness, I will need more advice from you because the webAuth redirect part is not clear to me. Regards, |
Sure. So what's happening it sounds like is that the redirect to the ms-app URI is successful so the dialog closes and the sdk tries to take the query parameters from the response and use them to create an object that wraps up their values (for a feed dialog that object is In order to fix this you need to take the query string from the request and append it to your response when you perform the redirect. So what you'll be redirecting to should look like |
In the |
Hello, I used html with javascript to create the ms-app redirect url and I hope that the application SID is not sensitive information because it's hardcoded in the html. Regards, |
Please excuse this intrusion. I do not know where else to post/look for this issue. I am no C++ coder, C# only, trying to get winsdkfb into a Universal project. Apparently FBUser.h is missing. Should it be? Should this file by dynamically created perhaps? I figured that the project should compile, and would except that this file is missing. Suggestions? |
|
Not using nuget, direct project inclusion in the solution. \facebookwinsdk-master\winsdkfb\winsdkfb\winsdkfb.shared\facebooksession.h(21): fatal error C1083: Cannot open include file: 'FBUser.h': No such file or directory I get to that and that's it. |
Try building the project for x64 first and then back to whatever platform you're originally targeting. If that still causes problems, make sure that you cloned the repo and didn't download the zip file instead. Then from a cmd prompt try running |
I did download the zip, but will do a fetch from the repo now... will follow your instructions. |
Ah, there was a previous error that probably was choking the compile: Turns out I only have Microsoft.VisualStudio.TextTemplating.11.0 installed. Even though I'm running VS2013 I made a copy of 11.0 into 12.0, just to test, and I get a full compile now. |
You will need to have TextTransform.exe in your path in order for codegen.cmd to run correctly, but that should be taken care of for you if you are compiling from within visual studio. |
Thanks for your prompt attention to my comments. Sorry to have abducted this thread. I believe I can get the sample to run now. |
No problem. In the future though, making a new github issue would be preferable :) |
Hello,
I'm trying to invite friends to my app and the Webview used in FacebookDialog.xaml doesn't load all the content.
![friendrequest](https://cloud.githubusercontent.com/assets/17377076/14081788/074c6c62-f515-11e5-9100-f00b578948cd.png)
If I open the request url in a browser, example Microsoft Edge, the friends are correctly loaded.
To authenticate with FB I'm using SessionLoginBehavior::WebAuth to get a long live access token.
Update:
I did some script debugging and the client is receiving the content, but somehow the WebView doesn't process it. After a relative amount of time after the content is received, 30 seconds, 5 minutes, etc, the WebView will finally display the received friends.
The text was updated successfully, but these errors were encountered: