[TIMOB-17591] Facebook Login Button Text
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2016-04-17T18:54:02.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | TCSupport |
Reporter | Trevor Chong |
Assignee | Chee Kiat Ng |
Created | 2014-08-13T21:04:39.000+0000 |
Updated | 2016-04-17T18:54:02.000+0000 |
Description
Not sure if this is a documentation issue, or a lack of the property.
I'm trying to change the text from Login to connect. The doc states you can do it. But the API has only 2 values to control width, but not text
The API states:
http://docs.appcelerator.com/titanium/3.0/#!/api/Modules.Facebook.LoginButton-property-style
Use BUTTON_STYLE_WIDE to show a wider version of the button that includes the text, "Login with Facebook" or "Connect with Facebook".
Use BUTTON_STYLE_NORMAL to show a narrower button that simply says, "Login" or "Connect".
Closing this ticket for now. As mentioned before, Facebook just provides some API's to configure the login button. If you want to create an own button, Facebook recommends to create own buttons and call
authorize
in the event listener. That should work fine and cross-platform. Thanks!