Advertisement:
GCWebhosting

Author Topic: SA Twitter Integration  (Read 124818 times)

Offline SMFHacks.com Team

  • Full Member
  • ***
  • Posts: 409
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
SA Twitter Integration
« on: August 17, 2011, 04:26:47 PM »
Link to Mod

Description:
Allow Users To Login Register And Sync Accounts With Twitter

HOWTO:
Create an app on twitter
https://dev.twitter.com/apps/new

Fill In
Application Website: your site url

Callback URL: website url plus ?action=twitter
example
http://siteurl/index.php?action=twitter

Fill in the other stuff then once you have done that and got your keys
goto twitter admin and add your keys

Version 1.3
!Fixed signin twitter image for new installs. Link is now set to http://www.smfhacks.com/images/sign-in-with-twitter-l.png
!Updated http://twitter.com to https://twitter.com for profile links,sharing.


Version 1.2
!Use https for api connection

Version 1.1
!Fixed to work with new twitter api
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: SA Twitter Integration
« Reply #1 on: August 17, 2011, 09:39:25 PM »
Congrats on getting it approved :)

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,599
  • Gender: Male
Re: SA Twitter Integration
« Reply #2 on: August 17, 2011, 11:01:02 PM »
Congrats, indeed. :)
“There is no god, and that’s the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Twitter Integration
« Reply #3 on: August 18, 2011, 12:43:13 AM »
thanks guys
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline ReaperX

  • Semi-Newbie
  • *
  • Posts: 12
Re: SA Twitter Integration
« Reply #4 on: August 18, 2011, 02:50:03 PM »
I created new app, and now i have Consumer key, Consumer secret, Access token and Access token secret. Where can i get Twitter Api Key ?

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Twitter Integration
« Reply #5 on: August 19, 2011, 01:10:31 AM »
it isnt needed any more by the looks of thing :/ try it with out it was only for the @anywere wich wasnt fully implemented yet anyway
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline ReaperX

  • Semi-Newbie
  • *
  • Posts: 12
Re: SA Twitter Integration
« Reply #6 on: August 19, 2011, 02:19:38 AM »
yes, it seems to work without api key.
Thanks for creating this mod ;)

//
I have one more question...
How can I change language for Sign in button or add my own image (like it is in FB integration) ?
« Last Edit: August 19, 2011, 02:47:38 AM by ReaperX »

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Twitter Integration
« Reply #7 on: August 19, 2011, 04:15:07 AM »
it is an image

in sources/twitter/twitterhooks.php

http://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-l.png
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline darcysarto

  • Semi-Newbie
  • *
  • Posts: 35
Re: SA Twitter Integration
« Reply #8 on: August 23, 2011, 09:37:58 AM »
Hi, I've just installed this and attempting to test it I get this error:

Quote
The database value you're trying to insert does not exist: p_twitname

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Twitter Integration
« Reply #9 on: August 23, 2011, 03:47:21 PM »
did you setup an app on twitter?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline darcysarto

  • Semi-Newbie
  • *
  • Posts: 35
Re: SA Twitter Integration
« Reply #10 on: August 24, 2011, 08:28:59 AM »
did you setup an app on twitter?

Hi, yes I did.

I installed mod successfully and set up app.  Entered consumer key and consumer secret and switched mod on.

When I click on the button I get taken to Twitter and do the confirming bit then end up back at my forum at a screen where I have to enter username, email and password.  When I click save I get the error.  However, the new member does appear as registered?

Any thoughts as to what I've done wrong?

Offline tectonny

  • Jr. Member
  • **
  • Posts: 289
    • Tectonny Eletronica
Re: SA Twitter Integration
« Reply #11 on: August 24, 2011, 09:17:59 AM »
The database value you're trying to insert does not exist: p_twitname

Test:
http://buscashare.in/forum/index.php?action=twitter

And already created and configure the app on Twitter

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,599
  • Gender: Male
Re: SA Twitter Integration
« Reply #12 on: August 24, 2011, 11:26:22 AM »
I can confirm this even though it was already reported. :)
“There is no god, and that’s the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Offline tectonny

  • Jr. Member
  • **
  • Posts: 289
    • Tectonny Eletronica
Re: SA Twitter Integration
« Reply #13 on: August 24, 2011, 11:45:36 AM »
I got to work, but when you register at Twitter just enter a PIN number and nothing happens.

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Twitter Integration
« Reply #14 on: August 24, 2011, 03:55:17 PM »
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline darcysarto

  • Semi-Newbie
  • *
  • Posts: 35
Re: SA Twitter Integration
« Reply #15 on: August 25, 2011, 04:13:35 AM »
I got to work, but when you register at Twitter just enter a PIN number and nothing happens.

How did you get it to work, I still just get The database value you're trying to insert does not exist: p_twitname

?

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Twitter Integration
« Reply #16 on: August 26, 2011, 03:43:48 AM »
can i have link to your site pls?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline darcysarto

  • Semi-Newbie
  • *
  • Posts: 35
Re: SA Twitter Integration
« Reply #17 on: August 26, 2011, 08:04:05 AM »
can i have link to your site pls?

Yes it's here http://www.bbcradioforum.co.uk I have switched on the mod so would appreciate if you could let me know when you have finished looking as I'd like to turn it off again until it's all working correctly.  Thanks for your help.

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Twitter Integration
« Reply #18 on: August 29, 2011, 01:50:19 PM »
sry for the long wait

just a hunch do you have datasebase driven sessions enabled?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
Quote
My allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Offline darcysarto

  • Semi-Newbie
  • *
  • Posts: 35
Re: SA Twitter Integration
« Reply #19 on: August 29, 2011, 03:15:25 PM »
I'll check but have no idea what that means or what will happen if I disable it?