My question is two fold. Firstly the screen that gets generated when the user does not have a twitter account and clicks on the sign up button in (Native Twitter iPhone App) like the image below. Is it Default screen or is it created programmatically?
If it is default iOS Screen, then how do i get my app to generate it.
If it isn't then what process will I be following exactly to sign the user up with Twitter given I have his credentials
link
Thanks in advance
It is default screen. No need to add extra code for it. If you call twitter share and you weren't signed in, in twitter it will show a dialog box. click settings will navigate to twitter sign in.Clicking create new account will navigate to sign up page. There is a bug in twitter app in older versions of iPhone simulator.but in new iPhone simulator you can sign in , dont know sign up actually works.
Related
Using the google_sign_in package to allow users to sign in to firebase using a Google account. I discovered a bug that displays a black screen in the background instead of the application after trying to sign in with an added account and returning to the main screen without completing the sign-in process.
Steps to reproduce:
Login Screen Click on Sign In with Google
Google Sign In Options Click on add another account
Add account screen Navigate back to the app before creating a new account
Google Sign In Options with black screen
The issue is here I do not want the screen to be black but to be the same as the previous Google Sign In Options image. I have doubts that it might be due to the loss of the context but I am not sure what is causing the issue.
The function I am using is the signIn() method from the google_sign_in package on version 4.5.4
All other aspects of the package are functioning correctly. I am able to sign in with an account and have it authenticate the user through to the homepage
< style name="LaunchTheme" parent="#android:style/Theme.Translucent.NoTitleBar">
use this in styles.xml
I'm developing an iPhone app and I want to launch Facebook messenger share extension from when user wants to send a photo to one of his friends.
How can this be done?
I was able to use FBdialog, but this takes the user our of the app and I don't like this option.
Thanks.
Your application must have received permissions by the user via the access token (publish_actions). Otherwise, you'll get into the fast-app-switch, which displays a separate page.
Once a user gives your app appropriate permissions, then your FB action can be seamless, without switching across.
In a nutshell, you should implement a "login" method that users "login" to your application using Facebook (more specifically - gives your app permissions to access certain parts of their FB profile), and then you should be able to use native SDK capabilities.
If you use UIActivityViewController as long as the shared objects (NSString, UIImage, etc) are compatible it should show up automatically on the share list sheet in iOS 8.
The user may have to enable it by pressing "More"
I haven't done a Facebook app in a while. Today I needed to create a simple application for a customer and I'm still not able to install it.
The app is very basic. The idea is to have an extra "tab" where the app will simply show a jpg stored on an external server.
The main problem at this moment is that when I login as the clients page admin, and navigate to the app page, it does not show the "add app to page" link.
How can I install my app?
Retrieve your app id from https://developers.facebook.com/apps
Replace your app id in the following URL where it says YOUR_APP_ID:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=http://facebook.com
After downloading my app from app store (or via OTA) and trying to share via FBConnect SDK, the mobile app is launched but returns almost immediately to the app with error -999, without asking user for authorizations.
After that, clicking on FB share button reopens the mobile app and all goes well, authorizations are asked, my app is called back and display the FB dialog.
That issue only happens once : if I uninstall/reinstall the app and remove the FBapp authorizations from my FB account, all goes well.
I already specified the BundleID/iTunes App ID in the "Native iOS App" menu, and use the last FacebookConnect SDK.
Anyone experienced the same issue ?
Problem:
I run the sample iOS SDK code for facebook connect. When Facebook app is not installed, the sample app authenticates through Safari just fine and the sample app is able to post successfully.
When native Facebook app is installed, the sample app causes the Facebook app to be launched for authentication which shows a page that is requesting login for the demo app. When I press the login, it brings up another window that has the allow/"don't allow" options. So far so good. The problem is that if I logout from within the sample app (i.e., [_facebook logout:self]) and try to login again, pressing the "login" button in the Facebook app does nothing (it's supposed to take you to the allow/"do not allow" page).
I have specified the App-ID in the sample app and I have included the fb[app-id] (e.g., fb1234) in the plist under 'URL Types' (otherwise, the Safari authentication would not have worked either).
Any help is appreciated.
It does not take you again to the "allow/don't allow" page because the user already gave permission to the app. The only way the page can show again is when the user revoke the access from the Facebook admin panel. I'm not sure if there's a part of the API that can actually revoke the access of the app from the iOS SDK.