https://www.drupal.org/sandbox/tk421jag/2451325
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/tk421jag/2451325.git twitter_lite
cd twitter_lite
This module was created out of the need for a basic and easy to setup twitter feed. The Twitter module is great for extending the Twitter API into your site with great features.
However, I wanted a lightweight Twitter feed module that generates a block of feeds. The feeds block is
This module creates two Twitter feed blocks. You can also choose how many tweets to show per block.
UPDATE: 3/13/2015 I've updated this to include a block with a search tweet feed. It can use search terms or hashtags.
UPDATE: 7/21/2016 Revised API error notification. Began work on port to Drupal 8.








| Comment | File | Size | Author |
|---|---|---|---|
| Screen Shot 2016-07-21 at 10.20.49 PM.png | 49.14 KB | jasonglisson | |
| logo_104.png | 167.63 KB | jasonglisson | |
| Screen Shot 2015-03-12 at 4.54.12 PM.png | 133.64 KB | jasonglisson |
Comments
Comment #2
jasonglisson commentedComment #3
jasonglisson commentedIndividual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and/or fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.
README.txt/README.md
Yes: Follows the guidelines for in-project documentation and/or the README Template.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.
Comment #4
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgsandboxtk421jag2451325git
Fixed the git clone URL in the issue summary for non-maintainer users.
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #5
er_abhinav commentedFound some issue. Kindily look into it.
1. Class name must be prefixed with project name.
2. Does not qualifies the pareview. Most of the errors are of indentation. Please fix it. Below is the link provided:
http://pareview.sh/pareview/httpsgitdrupalorgsandboxtk421jag2451325git
3. Please follow the coding standard.
https://www.drupal.org/coding-standards
Comment #6
jasonglisson commentedThank you for your help. Yeah I worked on a ton of the indentation errors last night and had no idea that would be a big issue.
I'll work on this now. Thanks!
Comment #7
jasonglisson commentedOk, I've fixed a bunch of indentations, and it looks like all of the errors that were their before are now gone when I scan it.
Let me know if anyone has some time to look over it.
I may need some more specific examples of any parts that need the coding standards fixed if there are any other issues.
THANKS!!!
Comment #8
jasonglisson commentedComment #9
mepushpendra commentedHi tk421jag,
I had a quick look at your module and done my bit of review :)
Automated Review:
Automated code review passed.
Manual Review:
1. Use project page template for the project page.
2. Add hook_help in module.
3. Use proper commit messages see the documentation
4. Use standard comments where ever you implement hooks.
Comment should be like
/**
* Implements hook_menu().
*/
5. Use default value with variable_get in function
6. I think you declared function linkify_tweet2() inside another function by mistake at line no. 285 in twitter_lite.module file
Moving back to N/W due to open issues.
Comment #10
gaydamaka commentedHi
Maybe beter replace:
to:
Comment #11
jasonglisson commentedExcellent. Thank you both for your help. I'll work on this stuff.
Thanks again!
Comment #12
jasonglisson commentedSo a few questions about this....
Manual Review:
1. Use project page template for the project page. I have a project page for this, but I don't know what you mean by using the template.
2. Add hook_help in module. Is this nessecary and required if I have a README file?
3. Use proper commit messages see the documentation Working on this.
4. Use standard comments where ever you implement hooks. This is fixed.
Comment should be like
/**
* Implements hook_menu().
*/
5. Use default value with variable_get in function As far as I can tell, throughout my entire module I'm using variable_get to define default values. Was there somewhere in particular I should look at for this?
6. I think you declared function linkify_tweet2() inside another function by mistake at line no. 285 in twitter_lite.module file I don't see that I did. I declared the function on line 263, and then I'm calling the function on line 285.
Comment #13
jasonglisson commentedI would love it if someone could answer the questions I had on this. Thanks!
Comment #14
jasonglisson commentedAnyone?
Comment #15
arun ak commentedHi tk421jag,
Please see below for answers to your questions:
Refer Module documentation guidelines.
variable_get()function to use value if variable is not set. eg:variable_get('twitter_lite_username', '')Refervariable_get().linkify_tweet2()function is defined insidetwitter_lite_search()function and also the functionlinkify_tweet2()not using elsewhere in code. Please correct that in your code.module_load_include()instead ofrequire_once()in twitter_lite.module line no 235.module_load_include()function does over and above the standard PHP require_once is that it references the module's path when locating the file, usingdrupal_get_path().If you were to use require_once, you would have to do this bit yourself. Refer
module_load_include().Thanks,
ARUN AK
Comment #16
jasonglisson commentedEXCELLENT! You've explained this very well.
Comment #17
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.