Skip to content

Ashusolanki/FacebookUrlExtractor

Repository files navigation

FacebookUrlExtractor

Facebook Extractor Download Videos Android based Facebook url extractor

These are the urls to the Instagram Video files, so you can stream or download them.

  • Builds: JitPack

Gradle

To always build from the latest commit with all updates. Add the JitPack repository:

repositories {
    maven { url "https://jitpack.io" }
}

And the dependency:

dependencies 
 {
    implementation 'com.github.Ashusolanki:FacebookUrlExtractor:0.0.5'
 }

Usage

#FacebookExtractor


      new FacebookExtractor(this,"Video Url",false)
        {
            @Override
            protected void onExtractionComplete(FacebookFile facebookFile) {
                Log.e("TAG","---------------------------------------");
                Log.e("TAG","facebookFile AutherName :: "+facebookFile.getAuthor());
                Log.e("TAG","facebookFile FileName :: "+facebookFile.getFilename());
                Log.e("TAG","facebookFile Ext :: "+facebookFile.getExt());
                Log.e("TAG","facebookFile SD :: "+facebookFile.getSdUrl());
                Log.e("TAG","facebookFile HD :: "+facebookFile.getHdUrl());
                Log.e("TAG","---------------------------------------");
            }

            @Override
            protected void onExtractionFail(Exception error) {
                Log.e("Error","Error :: "+error.getMessage());
                error.printStackTrace();
            }
        };

#Facebook File

    getUrl();
    getExt();
    getFilename();
    getAuthor();
    getSdUrl();
    getHdUrl();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages