• Welcome to Simple Machines Community Forum. Please login or sign up.

SA Twitter Integration

Started by SMFHacks.com Team, August 17, 2011, 04:26:47 PM

Previous topic - Next topic

SMFHacks.com Team

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

Spoogs

Congrats on getting it approved :)

~DS~

"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

SA™

http://samods.github.io/SAChatBar/

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

ReaperX

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 ?

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

ReaperX

August 19, 2011, 02:19:38 AM #6 Last Edit: August 19, 2011, 02:47:38 AM by ReaperX
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) ?

SA™

http://samods.github.io/SAChatBar/

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

darcysarto

Hi, I've just installed this and attempting to test it I get this error:

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

SA™

did you setup an app on twitter?
http://samods.github.io/SAChatBar/

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

darcysarto

Quote from: SA™ on August 23, 2011, 03:47:21 PM
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?

tectonny

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

~DS~

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

tectonny

I got to work, but when you register at Twitter just enter a PIN number and nothing happens.

SA™

http://samods.github.io/SAChatBar/

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

darcysarto

Quote from: tectonny 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.

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

?

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

darcysarto

Quote from: SA™ on August 26, 2011, 03:43:48 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.

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

darcysarto

I'll check but have no idea what that means or what will happen if I disable it?

Advertisement: