Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No scripts folder within this repo. #1

Open
jredondo opened this issue Mar 18, 2015 · 2 comments
Open

No scripts folder within this repo. #1

jredondo opened this issue Mar 18, 2015 · 2 comments

Comments

@jredondo
Copy link

Hi, viisauksena. Guess: I was looking for a group-like feature for diaspora* and just arrived here. I've been browsing this repo (diasp_group) and wanted to try it as a proof of concept. But sadly I found no scripts folder (no repost.sh or getall.sh). I would like to try it. Thanks in advance.

@jredondo jredondo changed the title No scripts folder whithin this repo. No scripts folder within this repo. Mar 18, 2015
@viisauksena
Copy link
Owner

i stopped working . cause it was a mess
while i was successfull with curl to make real postings .. and with some nice mysql querys getting all the latest post to a given "group" user ...it was all messy
and you have to set this up by hand: meaning this (i describe so you have to get your steps for this), you have to make a special user for this on an server where you have sql database access, the user should autoaccept followers/friends, you have to get all the latest messages and check them for updates via sql quers against non-public posts to this user, and you have to track this (so you have to have your own extra database for this), then you have to make a cronjob which sends data in case of something new arrives a "group-user-post" und by this reaching all the participants (friends).. you have to track your own posts too and relate them to origin posts , so sometimes you have to recheck if the origin is still there, or is being deleted - by this you should delete it also..

to send i found no better way, and no support on all diaspora channels whatsoever (they dont like this idea) - than getting a valid session cookie for the user - and make a post request via curl (and the session cookie in it) ... so you dont have to make all the difficult ruby on rails stuff for a new post yourself -
sure - if you know the stuff, you find the info for making a post quickly.

so at the end of the day, it worked - but i had no time to automate it, and i loose interest in diaspora for a while - maybe thie come back, and hopefully there is somehow a api or sthg. than

@viisauksena
Copy link
Owner

i found the code lines i had ... i will upload them tomorrow - after stripping some private data
this is not the full version i had , but at least you should get all the stuff you need at your hand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants