This module let users to post messages (with attachments) to LinkedIn groups. It uses Linkedin integration module to connect to LinkedIn API. No analog present.
Link to the page: https://www.drupal.org/sandbox/le72/2365553
Clone: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/le72/2365553.git linkedin_post_to_group
For Drupal 7.x only
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screenshot from 2014-10-30 10:26:45.png | 65.96 KB | rhabbachi |
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxle722365553git
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 #2
rhabbachi commentedAutomated Review
Please fix best practice issues identified by pareview.sh http://pareview.sh/pareview/httpgitdrupalorgsandboxle722365553git
Manual Review
Please fix issue title following the standard e.g [D7] Project name
No instructions on how to use or Install the module
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #3
le72Thank you very much for review.
I will update the code as requested and add instructions to README
What I should do next? Apply again?
Comment #4
le72I have done all fixes.
Please review.
Comment #5
marcus_johansson commentedThere was a long process of getting an API account with LinkedIn, so this will not be a full review but just some thoughts that might help you :) Some other person that has access to the API will have to do the full test.
Automatic testing:
http://pareview.sh/pareview/httpgitdrupalorgsandboxle722365553git
There are still some formatting issues. No deal breaker what-so-ever, but it should be fixed.
Other thoughts
All the points above are definitely not any show stoppers. I wont change the status - I set out to fully try out your module, but it's better someone who has an actual LinkedIn API account does that. At least I hope it's some kind of useful feedback on the code which looks good.
Cheers
Comment #6
le72Thank you for review, Marcus_Johansson.
I really very appreciate your efforts to help.
So, I made suggested changes, and waiting to next review. You are right it is not simple to setup working connection with linkedin. But this is mainly problem of the LinkedIn Integration module, but not mine. If you able so setup LinkedIn Integration module, 95% of work is done :-)I added detailed documentation to README file.
Fixed. DRUPAL_CACHE_PER_USER used
Right no any use case, plus for simple queries, db_query() is 22% faster than db_select()
No. Removed.
Added
The LinkedIn module itself already has such link. Don't think it is good idea to have two configuration links to same config page.
I have call of linkedin_init() in _linkedin_post_to_group_post_to_group, so no problem :-)
Thanks again.
Comment #7
le72Comment #8
jribeiro commentedle72,
So far this module looks good! Congrats.
1.
Think to insert these urls on a admin field, or on a variable, or on a constant, is better than keep this hardcoded.
2.
Personally, I don't liked the content of this function
_linkedin_post_to_group_post_to_groupThis function are doing a lot of things, like, access database, make a post, etc. Try to isolate these components on other functions to better reuse and readability.
Automated tests:
Comment #9
le72Thank you, jribeiro for review. I will take into account your notes.
Comment #10
le72Any chance to update?
Comment #11
naveenvalechaThanks for your contributions.I would suggestion you to take a review bonus to speed up the process. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Comment #12
chandrasekhar539 commentedAutomated Review
http://pareview.sh/ -- has coder finding . Please work on those.
Please make sure that characters not exceeds the above 80 characters
Manual Review
README.txt
Please make sure that characters not exceeds the above 80 characters
linked_in_post_group.module
$form = array();
// User profile settings.
$form['linkedin_post_to_group'] = array(...........................
Please remove the extra blank spaces in the code
Comment #13
chandrasekhar539 commentedAutomated Review
http://pareview.sh/ -- has coder finding . Please work on those.
Please make sure that characters not exceeds the above 80 characters
Manual Review
README.txt
Please make sure that characters not exceeds the above 80 characters
linked_in_post_group.module
$form = array();
// User profile settings.
$form['linkedin_post_to_group'] = array(...........................
Please remove the extra blank spaces in the code
Comment #14
klausiThose minor formatting issue are surely not application blockers, anything else that you found or should this be RTBC instead?
Comment #15
monojnath commentedHi,
Great job.!!
It would be great if you can get a clean cheat from the "http://pareview.sh/pareview/httpgitdrupalorgsandboxle722365553git", as it still now is showing certain errors. :)
Comment #16
mjkovacevich commentedHi le72, after reviewing your module I have the following suggestions:
1. Add a hook_help section with the necessary help content to make it easy for developers and site maintainers to better understand your module. Make sure your README.txt file is in sync with the hook_help content and that there are no ambiguities.
2. Can't see where module variables are being set! Consider creating functionality for a user to set the variables.
3. The module is not clearing all the module variables via hook_uninstall. Make sure all the variables used in the module are specified in the hook_uninstall function.
Hope that helps.
Comment #17
PA robot commentedProject 1: https://www.drupal.org/node/2736097
Project 2: https://www.drupal.org/node/2365671
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #18
avpaderno