Discussion Forums  >  WebViews and HTML for Mobile

Replies: 10    Views: 156

Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
06/05/12 05:06 AM (13 years ago)

Twitter, Facebook, and Google Plus buttons

can I put a twitter, Facebook, or G+ button in my app on the HTML screen?
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
06/05/12 05:30 AM (13 years ago)
Yes.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/05/12 05:55 AM (13 years ago)
Yes. You can use some of the options on buzztouch.com or some of the plugins on 2.0 for sharing (tweeting, ect). Or you can add HTML codes from your social websites into a html screen. David buzztouchmods.com
 
Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
like
06/05/12 06:32 AM (13 years ago)
I want to add them to my HTML screen but the use JavaScript so it just shows up as a link. I want a legit button.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/05/12 06:47 AM (13 years ago)
Show me the code you are using? David buzztouchmods.com
 
Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
like
06/05/12 06:53 AM (13 years ago)
Go here: https://twitter.com/about/resources/buttons#follow Check the first 2 boxes Language English @njmpwnz Code will be in the little box to the right
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/05/12 07:18 AM (13 years ago)
<a href="https://twitter.com/njmpwnz" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @njmpwnz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> So this ONLY displays a link? You might just have to try: <a href="https://twitter.com/intent/follow?original_referer=https%3A%2F%2Ftwitter.com%2Fabout%2Fresources%2Fbuttons&region=follow_link&screen_name=njmpwnz&source=followbutton&variant=2.0"><img src="IMG LINK HERE"></a> and tell me if that's good. David buzztouchmods.com
 
Known
Apple Fan
Profile
Posts: 83
Reg: Jan 07, 2012
Suttons Bay, Mi...
830
like
06/05/12 07:32 AM (13 years ago)
Following
 
Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
like
06/05/12 09:54 AM (13 years ago)
I don't have an image link.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/05/12 10:22 AM (13 years ago)
Google a "follow me" twitter image and use that. David buzztouchmods.com
 
Gb78
I hate code!
Profile
Posts: 48
Reg: May 28, 2012
Portland
3,030
like
06/05/12 08:31 PM (13 years ago)
You can also enter the following link into a new Custom HTML screen and it will display your Twitter page. Enter the link into the URL to Load line and this will display your twitter page in the app where they can login and follow you. https://twitter.com/njmpwnz You can also accomplish the same thing using the Launch Native App screen. If they have already logged into their Twitter account they will not have reenter their password to follow you. If you use the customer HTML screen they will have to enter their login info even if they are logged in on the native browser.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.