• Welcome to Simple Machines Community Forum. Please login or sign up.
January 22, 2022, 09:22:07 AM

News:

SMF 2.0.19 has been released! Please update. Read more.


SA Twitter Integration

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

Previous topic - Next topic

Dblog

i know i had the old version
but why is SMF package manager showing green button still and says package is upto date???????????

SA™

i would thinkit the way the package manager work seem to treat 0.3.3 as a greater number than 0.4 it is nothing to worry about once you have updated you can remove the 0.3.3 package
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 -___-

snadge

I cant get this too work?

after user allows the app to be used it gives a PIN and says to return to the website and enter the pin as part of the verification process.. if you click BACK your just back to login, if you click 'continue to *** website' you jst go back to homepage and start over, log in via twitter brings you to page with PIN on it telling you to enter it..?

SA™

quick google comes back with

QuoteOne method of authenticating via OAuth is called out-of-band (OOB). Instead of redirecting a user to a callback URL this method of OAuth instead displays a pin code for the user to input into an application. It sounds like this is the pin code being referred to.

did you set your callback url>?
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 -___-

alanmcg

How do you move the twitter share buttons location within themes? I'm not keen on the current location just under the link tree, especially as there's a big gap beneath the button.

Great mod by the way, very clever.

snadge

December 17, 2011, 04:40:44 PM #85 Last Edit: December 17, 2011, 04:44:59 PM by snadge
Quote from: alanmcg on December 17, 2011, 04:22:58 PM
How do you move the twitter share buttons location within themes? I'm not keen on the current location just under the link tree, especially as there's a big gap beneath the button.

Great mod by the way, very clever.
I disabled that within the mod and used a different mod that put both facebook and twitter buttons next to the topic title in the title bar on the first post in a topic...much better.. the mod was Facebook & Twitter Sharer
http://custom.simplemachines.org/mods/index.php?mod=2827

@ SA - I have now set it and it works... E-Notify mod blocks it though just so you know...dunno why, ive had to get rid of that in favour of your mod
this was on a white page
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })

alanmcg

^ I've tried that mod and agree it makes a lot more sense where it puts the buttons, but I'd rather not complicate matters by having lots of mods doing similar things. Would be great if I could just alter a bit of code and get the existing mods twitter button in the right place.

snadge

Quote from: alanmcg on December 17, 2011, 08:12:41 PM
^ I've tried that mod and agree it makes a lot more sense where it puts the buttons, but I'd rather not complicate matters by having lots of mods doing similar things. Would be great if I could just alter a bit of code and get the existing mods twitter button in the right place.

thing is with doing that you have to start noting/remembering where and what code you have added/changed and reversing it later if you want to remove or change mods - where as using mods does it all for you

alanmcg

True, I already have that with my customised theme though, every time I update something breaks.  ;D SimplePortal recently decided to randomly ruin much of the spacing for no clear reason.

SA™

i am considering moving the the share buttons in the next realse the main reason in having them where they are was to save on code edits
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 -___-

usrfsledge

Hi there, somehow this sounds as a great mod.
I've installed the mod on a testing-board and I've managed to tweet automatic new topics from a board.

However, to link my twitter-account on my profile page doesn't seem to work.
Besides of that, I have really no idea what else to expect from this mod. What does it do, besides to auto-tweet new topics ?

Tnx in advance

Working on a clean/fresh/empty SMF 2.0.1 with simple portal 2.3.4 and this mod 0.4Rev23

snadge

Quote from: usrfsledge on December 19, 2011, 10:35:03 AM
Hi there, somehow this sounds as a great mod.
I've installed the mod on a testing-board and I've managed to tweet automatic new topics from a board.

However, to link my twitter-account on my profile page doesn't seem to work.
Besides of that, I have really no idea what else to expect from this mod. What does it do, besides to auto-tweet new topics ?

Tnx in advance

Working on a clean/fresh/empty SMF 2.0.1 with simple portal 2.3.4 and this mod 0.4Rev23

It allows users to login with twitter (you need to create an app for this)
It puts a button at top of each topic so users can tweet the topic

usrfsledge

Okay, not really much as other mods do, only they don't need the app.
Weird anyway, the auto-post-new-topics-from-a-specific-board seems to work well. So I suppose the app works.
But linking a members (profile) to Twitter doesn't. No errors, but also no linking. And because of that, I suggest, I can't see any buttons on top of pages/topics.

snadge

December 19, 2011, 12:00:42 PM #93 Last Edit: December 19, 2011, 12:04:13 PM by snadge
Quote from: usrfsledge on December 19, 2011, 11:32:48 AM
Okay, not really much as other mods do, only they don't need the app.
Weird anyway, the auto-post-new-topics-from-a-specific-board seems to work well. So I suppose the app works.
But linking a members (profile) to Twitter doesn't. No errors, but also no linking. And because of that, I suggest, I can't see any buttons on top of pages/topics.

sure your using this mod?
A) I cant "auto-post-from-certain-boards"... how do you set that up as I would like to?
B) for tweet button you have to enable it under BOARDS by checking which ones you want the button to appear
..personally i dont and use a different mod as this mod places the button at top left which uses up a whole line of space just for the button (2 lines when you use his Facebook integration mod too), another mod I use puts tweet and facebook share buttons on the title-bar of the first post on every topic (which is better)

all mods that allow users to sign into the forum with twitter require an app, its quite easy to setup. anyway, you still have to create a username, password and email when they use it for first time - there are no twitter/FB login mods that can do this without needing to sign up first with username/pass/email etc - if you know of one please do let me know.

the ones your on about probs just post straight to that users wall if they are logged into twitter in same browser session.. 

usrfsledge

Quote from: snadge on December 19, 2011, 12:00:42 PM
the ones your on about probs just post straight to that users wall if they are logged into twitter in same browser session.. 

Yup, that's correct.

Quote from: snadge on December 19, 2011, 12:00:42 PM
sure your using this mod?
A) I cant "auto-post-from-certain-boards"... how do you set that up as I would like to?

Yup again, I'm pretty sure.
I can't tell you exactly, because I've deleted my test-scenario. But somewhere at the admin-section you can select the board from wich a tweet will be done whenever a new topic is started in that board.

SA™

in twitter admin you can enable the publisher to publish new post or/and new members to twitter you can select wich boards get published by visting the boards section in twitter admin
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 -___-

snadge

December 23, 2011, 01:50:14 PM #96 Last Edit: December 23, 2011, 01:53:38 PM by snadge
Quote from: SA™ on December 21, 2011, 10:27:21 AM
in twitter admin you can enable the publisher to publish new post or/and new members to twitter you can select wich boards get published by visting the boards section in twitter admin

well thats what I thought, but when I do it it doesnt work? nothing gets posted

I have publisher checked for "new posts and new members" and my chat section checked under 'publish' (I dont have tweet button enabled, shouldnt need to) - when I post in that section nothing is posted to twitter

SA™

whats is you application Access level set to it should be read and write

if it is just read your have to go into your app settings page click settings and check read and write now go to your
twitter profile settings on twitter and revoke access to you app then go back to you application setting pagw and click create my access token now the access level should say read and write
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 -___-

Apllicmz

Yes Nice work
when Update dont forget Portuguese files



Shrink

When i try t
Quoteo open user profile it give following error
"Fatal error: Uncaught exception 'EpiOAuthUnauthorizedException' in /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php:432 Stack trace: #0 /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /home/shrinkdw/public_html/forum/Sources/Twitter/TwitterHooks.php(366): EpiOAuth->getAuthenticateUrl() #3 /home/shrinkdw/public_html/forum/Sources/Subs.php(4248): twitter_profile_areas(Array) #4 /home/shrinkdw/public_html/forum/Sources/Profile.php(360): call_integration_hook() #5 /home/shrinkdw/public_html/forum/index.php(153): ModifyProfile('twitter_profile...', Array) #6 {main} thrown in /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php on line 432"
what to do?? :'(

Advertisement: