SimpleTwitter

Started by Suki, April 20, 2011, 01:43:22 PM

Previous topic - Next topic

Suki

can I see a link to your forum?

also, check if you set up the boards where this mod will work properly as well as check if the users who post new topics on those boards do have the permission to send topics to twitter.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Kurogane

#141
I'm posting as admin, also i can give you access in all you need i don't care.

Suki

Well, even as an admin, if you don't set up the boards the mod will not work.

is a single board where you want to post topics to twitter?  if so, on the mod settings page, on the board setting try typing the board id twice like this:

1,1

and see if that helps.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Kurogane

I'm lost here what "mod settings page, on the board setting" i not see any "board setting"

Suki

mod settings page  is the page within your admin panel where you can configure the mod.

board setting  is where you type the board's IDs where you want this mo to work.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Kurogane

The board setting i see is

Check to define the boards where this mod will not work

i don't check that block for board and user i leave in blank


Kurogane

Still not working... Other think i saw is in  Client Applications page not exist or i can't find it "Application Type: check the "Client" option" not sure if this affect the process

Suki

Ask I said earlier, you need to properly set up the twitter app before the mod can work.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Kurogane

Well, i follow out how create and setup correctly twitter app and the only is not set  is"Application Type: check the "Client" because there  is not option.

If you can help me figure out how properly set up the twitter app would be helpful

Suki

You need to have a twitter account:

https://dev.twitter.com/apps/new

fills up all the details

Name: *

Your application name. This is used to attribute the source of a tweet and in user-facing authorization screens. 32 characters max.
Description: *

Your application description, which will be shown in user-facing authorization screens. Between 10 and 200 characters max.
WebSite: *


leave the callback url empty.

once you set up properly, on the settings tab you will chose under application type:

Read, Write and Access direct messages


configure the mod's settings with the keys and OAuth tokens
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Kurogane

Same setting i set and everything is correct.

Can you check it for me? if not a problem of course.

Suki

OK New version 1.2:

Change Log
-5/Jan/12 1.2
   +Compatible with 2.0.x
   +fixed bug on users_denied and boards array
   +Updated twitter library
   +Disable the admin form via JavaScript if cURL is not installed
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

humbleworld

Any tutorial on how to create a Twitter app?

Suki

go to:  Client Applications page, sign in with your twitter username and password,  click on Register a new application, fill out all the requested fields:
   -Application Name:  this is important, whatever you put in here will appear on every tweet:  via:myforum_name
   -Application URL:  your forum url
   -Application Type:  check the "Client" option
   - Default Access type:  check the "Read & Write" option
   - Application Icon: the icon for the app, can be edited later.
   once you register your app, now you can see your Consumer key
and Consumer secret.
  to get your token access, clik on "My acces Token"  tab.   you will get your auth token and oauth token secret  do not reveal those.



Theres also a tutorial on the twitter dev page
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

humbleworld

Thank you Suki for the guide. Much appreciated!

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

05185736

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
On SMF 1.1.16
.::.

Arantor

Holder of controversial views, all of which my own.


rootuid

#158
Great mod. however the titles in bold below should be changed to their correct twitter titles to avoid confusion.Now it worked once and since has stopped!

I have attached my system info below, I believe it is up to date for this mod. I posted a new topic however it was not tweeted. Do I have to setup permissions?
Enable the SimpleTwitter mod.

Access level    Read and write
twitter consumer key
twitter consumer secret
oauth token -- This is my OAuth Consumer key
oauth token secret  -- This is OAuth  Access token secret




curl
cURL support    enabled
cURL Information    libcurl/7.21.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5


Additional Modules
Module Name
ionCube Loader

PHP Version 5.2.16

Suki

What confusions?  it is the same:

oauth token = Access token.
oauth token secret = Access token secret.


enter dev.twitter.com/  sig in, go to OAuth tool  and there is all the info you need.


The mod use permissions, you must check that whoever writes a new topic you want to appear in twitter must have proper permissions and the board shouldn't be in the denied board list.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: