Ticket #1056 (closed bug: fixed)

Opened 22 months ago

Last modified 22 months ago

New Twitter plugin problem

Reported by: alex.roc08@… Owned by:
Priority: normal Milestone:
Component: fon-plugin-twitter Version: Other
Severity: trivial
Cc: Hardware: both

Description

the new Twitter plugin ( included in the build n° 1940) doesn't work. When I click the Twitter icon on the dashboard this message is displayed

Attachments

Schermata 2011-07-27 a 11.18.20.png Download (72.2 KB) - added by alex.roc08@… 22 months ago.
Twitter

Change History

Changed 22 months ago by alex.roc08@…

Twitter

Changed 22 months ago by matthijs

  • hardware changed from 2.0g (FON2202) to both
  • status changed from new to confirmed
  • severity changed from unknown to trivial

Hmm, I'd have sworn I had added a comment to this ticket when I saw it two days ago. Must have gotten distracted before actually posting it. Oh well.

Anyway, what I typed was that this issue makes sense: I haven't actually added an API key to the firmware yet, which is needed to use the OAuth API. During testing I manually added it to the twitter config file on my Fonera, but I forgot to make that change in my SVN checkout as well.

However, simply adding the key to the default twitter config file won't work when upgrading a Fonera, since the twitter config file is then preserved from the old firmware (which doesn't have the key). To solve that, I'll probably include the key inside twitter.lua instead of taking it from the config (though I guess I can still allow overriding it, just in case that's convenient for anyone).

However, I just realized that it does not make sense to release with the API key I created using my personal Twitter account, but that's something that should happen from an official Fon account instead. As soon as I get access to that account, I'll commit the key to make this work (but that'll be next week, I'm afraid).

In any case, thanks for testing and reporting this issue!

Changed 22 months ago by anonymous

Just tested it by manually entering my own consumer_key and consumer_secret and it works great. just a little typo here  http://trac.fonosfera.org/fon-ng/browser/trunk/luci/libs/twitter/luasrc/twitter.lua?rev=1940#L107 :)

Changed 22 months ago by matthijs

(In [1941]) luci-twitter: Fix typo in log message.

References: #1056

Changed 22 months ago by matthijs

  • status changed from confirmed to closed
  • resolution set to fixed

(In [1944]) luci-twitter: Add the FON consumer token.

This actually makes the new Twitter OAuth code work.

Closes: #1056

References: #900

Add/Change #1056 (New Twitter plugin problem)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
 
Note: See TracTickets for help on using tickets.