1 |
85ad3d82
|
Assos Assos
|
CONTENTS OF THIS FILE
|
2 |
|
|
---------------------
|
3 |
|
|
|
4 |
|
|
* Introduction
|
5 |
|
|
* Requirements
|
6 |
|
|
* Installation
|
7 |
|
|
* Permissions
|
8 |
|
|
* Usage
|
9 |
|
|
|
10 |
|
|
INTRODUCTION
|
11 |
|
|
------------
|
12 |
|
|
|
13 |
|
|
Current Maintainers:
|
14 |
|
|
|
15 |
|
|
* ZenDoodles http://drupal.org/user/226976
|
16 |
|
|
* cweagans http://drupal.org/user/404732
|
17 |
|
|
* Devin Carlson http://drupal.org/user/290182
|
18 |
|
|
|
19 |
|
|
Twitter Block is a lightweight module which allows administrators to create
|
20 |
|
|
blocks which display embedded timelines.
|
21 |
|
|
|
22 |
|
|
Twitter Block will never provide advanced Twitter integration such as OAuth
|
23 |
|
|
user authentication or the ability to tweet from Drupal. These capabilities are
|
24 |
|
|
provided by other modules such as Twitter (http://drupal.org/project/twitter).
|
25 |
|
|
|
26 |
|
|
REQUIREMENTS
|
27 |
|
|
------------
|
28 |
|
|
|
29 |
|
|
Twitter Block has one dependency.
|
30 |
|
|
|
31 |
|
|
Drupal core modules
|
32 |
|
|
* Block
|
33 |
|
|
|
34 |
|
|
INSTALLATION
|
35 |
|
|
------------
|
36 |
|
|
|
37 |
|
|
Twitter Block can be installed via the standard Drupal installation process
|
38 |
|
|
(http://drupal.org/documentation/install/modules-themes/modules-7).
|
39 |
|
|
|
40 |
|
|
PERMISSIONS
|
41 |
|
|
------------
|
42 |
|
|
|
43 |
|
|
The ability to create, edit and delete Twitter Block blocks relies on the block
|
44 |
|
|
module's "Administer blocks" permission.
|
45 |
|
|
|
46 |
|
|
USAGE
|
47 |
|
|
-----
|
48 |
|
|
|
49 |
|
|
Administrators can visit the Blocks administration page where they can create
|
50 |
|
|
new Twitter Block blocks and update or delete existing Twitter Block blocks.
|
51 |
|
|
|
52 |
|
|
Administrators can also position Twitter Block blocks as they can with standard
|
53 |
|
|
or custom blocks provided by the core Block module.
|
54 |
|
|
|
55 |
|
|
Each Twitter Block block requires a unique widget ID which determines, among
|
56 |
|
|
other things, the source (user timeline, favourites, list or search) of the
|
57 |
|
|
tweets to display.
|
58 |
|
|
|
59 |
|
|
You can view a list of your existing embedded timeline widgets (and their
|
60 |
|
|
widget IDs) or create new embedded timeline widgets by visiting
|
61 |
|
|
https://twitter.com/settings/widgets (make sure that you're logged in).
|
62 |
|
|
|
63 |
|
|
You can determine a widget's ID by editing it and inspecting the URL (which
|
64 |
|
|
should be in the form of https://twitter.com/settings/widgets/WIDGET_ID/edit)
|
65 |
|
|
or by looking at the widget's embed code (look for
|
66 |
|
|
data-widget-id="WIDGET_ID"). |