Hi I created a desktop application. I was wondering what I should put for my Canvas Callback URL. I tried to define it as local (http://localhost:8084) but it doesnt accept it.
I need it to get the session using http://www.facebook.com/login.php?api_key=YOUR_API_KEY&v=1.0
Thanks!
Your canvas callback URL has to be an address that Facebook can actually fetch data from. That is not localhost, since as the name implies that is local to you.
Read the following: http://wiki.developers.facebook.com/index.php/Canvas_Callback_URL#How_It_Works
Your canvas page URL is http://apps.facebook.com/foobar/
Your canvas callback URL is http://www.foobar.com/yourapp/
[...etc]
Putting localhost as the canvas callback url is like buying something online and filling the shipping address as "my house".
For some basic information on how a Facebook application works, this is a good reading material:
http://wiki.developers.facebook.com/index.php/Anatomy_of_a_Facebook_App
Related
I need a dynamic link (short url) that:
on mobile:
when app is installed -> open app
when app is not installed -> open store
on desktop:
open specific web url
I managed to get it working for the mobile part. However, on desktop it also opens the deeplink for the app. The documentation states to use the OFL parameter for that. Now if I manually add this parameter to the long url everything works as expected but I need a short url. How can I add this parameter via Firebase Console directly?
Cheers
The 'ofl' feature is not yet available for Dynamic Links created via the Firebase console. Currently, this is only possible with Manual URL construction dynamic link. The idea is to add the "ofl" parameter to the url to make the FDL redirect another URL on the desktop, like displaying a full web page of the app content.
I faced the same problem and i fixed it by using the property longDynamicLink that the DynamicLinkParameters object provides as they said in documentation:
/// Set the long Dynamic Link when building a short link (i.e. using `buildShortLink()` API). This allows the user to append
/// additional query strings that would otherwise not be possible (e.g. "ofl" parameter). This will not work if using buildLink() API.
final Uri? longDynamicLink;
I'm trying to direct the user directly back to my iOS app when they sign up for a new Firebase account and click on the verification link in their email, but I'm unable to access the parameters generated in the ActionCodeSettings.
I'm doing this via a dynamic link, and it does redirect the user back to my app, but the url params are not exposed. I have tried the AppDelegate code from the Firebase documentation here, but no luck.
I've seen mention of an applyActionCode method in Swift but if I can't even surface the query string from the link then there's nothing for me to pass to that method anyway.
Anyone ever deal with this before?
Am using Firebase Google Authentication in my App. If the user does not have a profile image, Google used to return a dynamic picture, made up from the user's first or last initial, or digraph where applicable, all depending on each person's name structure.
Eg : If the user name is Jack and he does not have profile picture the
URL will return this image.
But Past few weeks the Url Returned by the method
FirebaseAuth.getInstance().getCurrentUser().getPhotoUrl(); is a 404
page.
Because of this am getting Exceptions in Glide app. I need an image as above as my App is a conversation app, Which will help users to identify easily if they dont have a profile image. Please let me know if google changed the way accessing the image or it stopped permanently. Also provide me any alternatives to get this above image.
I am working on a project using Xamarin.Forms as a container app. This app includes several webviews that link to restricted web content. One of these links our Sharepoint site. The Sharepoint site has a link that allows our users to go to a 3rd party site(Cornerstone) to view training videos. When using the stock UIWebView, WKWebView, or SFSafariViewController the popup that displays the video is not shown. The only way that I can get this video to play in my app is to use OpenURL to open the Sharepoint site in Safari. The problem is that this is an Enterprise solution where we don't want to allow the employees free reign with the browser.
Is there a way to create a whitelist or to have some control over the searchbar or read the url that they are linking to and block it or redirect the user?
Unfortunately as it's farming out the URL Navigation external to your application there's not a lot you can do from within your app to restrict what they do after the fact, 'openURL' only returns a Boolean value as to it's success, and the only parameters that you can send to it are:
application - Reference to this application
(UIApplication.SharedApplication).
url - The NSUrl specified by the
calling application.
sourceApplication - The bundle ID of the calling
application.
annotation -Optional property-list data passed by the
calling application.
You can only access these if you override the 'openURL' method within your 'AppDelegate.cs' class, there is a set of options you can pass through as an override but again none of those allow you to restrict what the user does after the browser has opened.
If the devices are managed using something like 'meraki' or some other software to control the use of managed devices, then you would likely set up a 'group policy' styled set of restrictions however that's not really a Xamarin issue, and should be discussed with the network administrators.
That being said, I don't see any reason why you can't use the WebView1, that way you can handle it all within your application. Or alternative utilize custom renderers and pass in the direct video urls and commit to opening up the devices media player for streaming the content2.
1 Playing videos in WebView
2 Using the media manager plugin.
Today i try to register my website and take Instagram API but see little changed page:
http://postimg.org/image/g4bssucyd/
there i can't add nothing for ''redirect URI(s)'' like before was,
When i add:
application name
description
website url
enter captcha, click on ''register'' nothing happend,
I ask Instagram support but they not answer, use google but nothing found, anyone here know something about this ?
Thanks.
Well... it seems like a bug. Sometimes it not works. Today (2015-04-15) I was facing a similar issue when registering my Client ID. When I filled up Website URL and Redirect URI with a public URL it just worked. Then I edited and changed to localhost url. So it work for me - although it's a bit weird...
Also, you must click on "Redirect URI(s)" so that show a input text:
And here is after I had changed redirect_uri public url to localhost:
Well, you probably hadn't entered redirect urls, the text input is on the next line after the label "Redirect URI(s)" previously it was a single field, but now it supports multiple redirect urls. But there's really no point in that since Instagram API closed POST and DELETE methods for everyone (except some third party applications) Now you can only register your app with basic scope. Read the new policy they posted earlier:
http://developers.instagram.com/post/116410697261/publishing-guidelines-and-signed-requests