GithubHelp home page GithubHelp logo

alexandrepasc / fbauto Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 11.99 MB

Share posts from a page to multiple groups automatically.

Home Page: https://github.com/alexandrepasc/fbAuto/wiki

Java 99.60% Shell 0.40%

fbauto's People

Contributors

alexandrepasc avatar apascoal avatar

Watchers

 avatar

Forkers

iamrahulyadav

fbauto's Issues

Link thumbnail

The facebook is not showing the thumbnail for the link we post.

Don't know how to workaround...

Check if the post is published

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 publish it not save the toPost files wright

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

Blocked to post on FB

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.

Flow for when it is not published.

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.

Compare groups is not working

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

Create docker volume configuration

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 code

Clean the unnecessary code, and comments.

Scrolldown time

Check better way to check if it needs to scroll more or not

FileXML revamp

The XML write and read should be revamped, to stop replicating code...

Needs to be thought.

Log file name typo

The log files name are not correct, for this application, copy and pasting code from other project made this happen.

Change done value

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).

Handle notification alert

The notification request has changed from facebook div to an firefox alert.
This is a new feature that was not developed.

Docker is not working correctly

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.