alexandrepasc / fbauto Goto Github PK
View Code? Open in Web Editor NEWShare posts from a page to multiple groups automatically.
Home Page: https://github.com/alexandrepasc/fbAuto/wiki
Share posts from a page to multiple groups automatically.
Home Page: https://github.com/alexandrepasc/fbAuto/wiki
Create a docker file to run this.
Prepare the project to run on docker.
Have to get the post url and store it on the file, to better compare and to POST it on the groups.
This could be done on the Posts.java Class.
The facebook is not showing the thumbnail for the link we post.
Don't know how to workaround...
During the process of publishing, errors could happen and you might not know if a post is publish on all the groups.
This could be a problem if it is not marked as "done" and could be repeated (multiple posts on the same group), or if it is maked and not all the groups have the post published.
After the changes on the flow to change the value done after publishing, the read file is not working.
Check issue #52
correct the null pointer exception
After publish flow it gives this error:
INFO: impl.group.PublishPost.CheckIsPublished(PublishPost.java:157) - Post Published CORRECTLY
mar 28, 2018 4:06:58 PM common.Logger_ Log_
SEVERE: nullnull
java.lang.NullPointerException
at impl.group.Publish.IsDoneGroup(Publish.java:103)
at impl.group.Publish.OpenGroups(Publish.java:75)
at impl.group.Publish.GoPost(Publish.java:21)
at main.Start.Posting(Start.java:188)
at main.Start.main(Start.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
mar 28, 2018 4:06:58 PM common.Logger_ Log_
INFO: impl.group.Publish.IsAllDone(Publish.java:124) - The post HAS NOT been Published to all the groups
And at the end, when it is to save the files it give this:
mar 28, 2018 4:12:36 PM common.Logger_ Log_
SEVERE: nullnull
java.lang.NullPointerException
at common.StructureToArray.ConvertToArray(StructureToArray.java:76)
at impl.group.WriteFiles.ToArray(WriteFiles.java:36)
at impl.group.WriteFiles.Write(WriteFiles.java:19)
at main.Start.Posting(Start.java:190)
at main.Start.main(Start.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
mar 28, 2018 4:12:37 PM common.Logger_ Log_
SEVERE: nullnull
java.lang.NullPointerException
at impl.FileXML.DocAddToPostValues(FileXML.java:188)
at impl.FileXML.Write(FileXML.java:53)
at impl.group.WriteFiles.ToFile(WriteFiles.java:47)
at impl.group.WriteFiles.Write(WriteFiles.java:21)
at main.Start.Posting(Start.java:190)
at main.Start.main(Start.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
mar 28, 2018 4:12:37 PM common.Logger_ Log_
INFO: impl.FileXML.Write(FileXML.java:56) - Get Values: toPost/TheGuren_ark
mar 28, 2018 4:12:37 PM common.Logger_ Log_
INFO: impl.FileXML.Write(FileXML.java:63) - File Saved: toPost/TheGuren_ark
mar 28, 2018 4:12:37 PM common.Logger_ Log_
SEVERE: nullnull
java.lang.NullPointerException
at common.StructureToArray.ConvertToArray(StructureToArray.java:76)
at impl.group.WriteFiles.ToArray(WriteFiles.java:36)
at impl.group.WriteFiles.Write(WriteFiles.java:19)
at main.Start.Posting(Start.java:190)
at main.Start.main(Start.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
mar 28, 2018 4:12:37 PM common.Logger_ Log_
SEVERE: nullnull
java.lang.NullPointerException
at impl.FileXML.DocAddToPostValues(FileXML.java:188)
at impl.FileXML.Write(FileXML.java:53)
at impl.group.WriteFiles.ToFile(WriteFiles.java:47)
at impl.group.WriteFiles.Write(WriteFiles.java:21)
at main.Start.Posting(Start.java:190)
at main.Start.main(Start.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
mar 28, 2018 4:12:37 PM common.Logger_ Log_
INFO: impl.FileXML.Write(FileXML.java:56) - Get Values: toPost/TheGuren_youtube
mar 28, 2018 4:12:37 PM common.Logger_ Log_
INFO: impl.FileXML.Write(FileXML.java:63) - File Saved: toPost/TheGuren_youtube
Need to check why I'm being blocked, but might be because of the speed of the posts.
If so has to do sleeps after each publish.
The substring to get the group ID is not getting the correct ID.
When a post is not published, what should the application do?
On the issue #66 the flow to detect this is done, but the only thing that it returns is logs.
Should I add a new field to the group on the xml file to identify what is posted or not?
Should retry to publish again?
Need to evaluate this.
The CompareGroupStructures is not working correctly.
The logs created does not show the changes, it lists all the groups from the structure.
Related to #20
To be able to check the files create by the application, it is needed to have a volume where we can open the files.
The path for the volume should be configured by the user.
Have to check the better way to configure this.
Clean the unnecessary code, and comments.
Check better way to check if it needs to scroll more or not
The XML write and read should be revamped, to stop replicating code...
Needs to be thought.
The log files name are not correct, for this application, copy and pasting code from other project made this happen.
After publishing the post on the groups, change the value of done (on the toPost files) from 0 to 1.
This change will disable publishing the same post multiple times on the same group(s).
When the application is on the toPost flow, if the one of the file has the character & on the page title the application stop working.
It may be good to ad sub-packages to the impl, to organize the files and to facilitate the development.
The last verification for the page, on CheckPage, is failing.
This method could be used for both Group and Page flows.
Has to be revamp.
Try to revamp the Class to not be hard coded
The notification request has changed from facebook div to an firefox alert.
This is a new feature that was not developed.
The element inserted on Group to the post text is not working.
Have already changed it, but still not working...
Have to find the wright one.
The compare method is not logging the correct difference on method DetectDifferences.
The verification for the published posts is not working, if the post does not need revision.
If the number of groups is large, the docker only publish 1 or 2 groups.
After that it will give error on every group.
It might be because the page takes more time to load/render.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.