Rich link preview in flutter












3















Is it possible to make a preview from an url, grabbing all the information such as title, relevant texts and images. Is there any plugins I can use readily?



See this Native android plugin










share|improve this question



























    3















    Is it possible to make a preview from an url, grabbing all the information such as title, relevant texts and images. Is there any plugins I can use readily?



    See this Native android plugin










    share|improve this question

























      3












      3








      3


      1






      Is it possible to make a preview from an url, grabbing all the information such as title, relevant texts and images. Is there any plugins I can use readily?



      See this Native android plugin










      share|improve this question














      Is it possible to make a preview from an url, grabbing all the information such as title, relevant texts and images. Is there any plugins I can use readily?



      See this Native android plugin







      dart flutter flutter-dependencies






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 8:58









      Shyju MShyju M

      1,0941018




      1,0941018
























          2 Answers
          2






          active

          oldest

          votes


















          2














          You can do this way :



          1)Create a user at https://www.linkpreview.net



          2)Generate an Access Key.



          3)From your code call



           http://api.linkpreview.net/?key=<Your_API_KEY_From_Step_2>&q=https://www.google.com


          It returns the meta tags in JSON as below :



           {"title":"Google","description":"Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.","image":"http://www.google.com/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png","url":"https://www.google.com/"}


          4) Use it in flutter widget to create a preview.






          share|improve this answer































            0














            Currently, there is not an open source library for flutter providing these meta tags for a website.



            There is a temporal solution, using these freemium APIs for getting this information. The main drawback is that the requests are limited before paying.






            share|improve this answer





















            • 1





              try to highlight the keywords and be clear with the format it will help to reach out your answer for others

              – Agilanbu
              Dec 22 '18 at 16:19











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408402%2frich-link-preview-in-flutter%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            You can do this way :



            1)Create a user at https://www.linkpreview.net



            2)Generate an Access Key.



            3)From your code call



             http://api.linkpreview.net/?key=<Your_API_KEY_From_Step_2>&q=https://www.google.com


            It returns the meta tags in JSON as below :



             {"title":"Google","description":"Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.","image":"http://www.google.com/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png","url":"https://www.google.com/"}


            4) Use it in flutter widget to create a preview.






            share|improve this answer




























              2














              You can do this way :



              1)Create a user at https://www.linkpreview.net



              2)Generate an Access Key.



              3)From your code call



               http://api.linkpreview.net/?key=<Your_API_KEY_From_Step_2>&q=https://www.google.com


              It returns the meta tags in JSON as below :



               {"title":"Google","description":"Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.","image":"http://www.google.com/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png","url":"https://www.google.com/"}


              4) Use it in flutter widget to create a preview.






              share|improve this answer


























                2












                2








                2







                You can do this way :



                1)Create a user at https://www.linkpreview.net



                2)Generate an Access Key.



                3)From your code call



                 http://api.linkpreview.net/?key=<Your_API_KEY_From_Step_2>&q=https://www.google.com


                It returns the meta tags in JSON as below :



                 {"title":"Google","description":"Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.","image":"http://www.google.com/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png","url":"https://www.google.com/"}


                4) Use it in flutter widget to create a preview.






                share|improve this answer













                You can do this way :



                1)Create a user at https://www.linkpreview.net



                2)Generate an Access Key.



                3)From your code call



                 http://api.linkpreview.net/?key=<Your_API_KEY_From_Step_2>&q=https://www.google.com


                It returns the meta tags in JSON as below :



                 {"title":"Google","description":"Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.","image":"http://www.google.com/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png","url":"https://www.google.com/"}


                4) Use it in flutter widget to create a preview.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 11 '18 at 8:02









                SudipSudip

                212




                212

























                    0














                    Currently, there is not an open source library for flutter providing these meta tags for a website.



                    There is a temporal solution, using these freemium APIs for getting this information. The main drawback is that the requests are limited before paying.






                    share|improve this answer





















                    • 1





                      try to highlight the keywords and be clear with the format it will help to reach out your answer for others

                      – Agilanbu
                      Dec 22 '18 at 16:19
















                    0














                    Currently, there is not an open source library for flutter providing these meta tags for a website.



                    There is a temporal solution, using these freemium APIs for getting this information. The main drawback is that the requests are limited before paying.






                    share|improve this answer





















                    • 1





                      try to highlight the keywords and be clear with the format it will help to reach out your answer for others

                      – Agilanbu
                      Dec 22 '18 at 16:19














                    0












                    0








                    0







                    Currently, there is not an open source library for flutter providing these meta tags for a website.



                    There is a temporal solution, using these freemium APIs for getting this information. The main drawback is that the requests are limited before paying.






                    share|improve this answer















                    Currently, there is not an open source library for flutter providing these meta tags for a website.



                    There is a temporal solution, using these freemium APIs for getting this information. The main drawback is that the requests are limited before paying.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Dec 26 '18 at 13:07

























                    answered Dec 22 '18 at 15:55









                    Javier BenitezJavier Benitez

                    325




                    325








                    • 1





                      try to highlight the keywords and be clear with the format it will help to reach out your answer for others

                      – Agilanbu
                      Dec 22 '18 at 16:19














                    • 1





                      try to highlight the keywords and be clear with the format it will help to reach out your answer for others

                      – Agilanbu
                      Dec 22 '18 at 16:19








                    1




                    1





                    try to highlight the keywords and be clear with the format it will help to reach out your answer for others

                    – Agilanbu
                    Dec 22 '18 at 16:19





                    try to highlight the keywords and be clear with the format it will help to reach out your answer for others

                    – Agilanbu
                    Dec 22 '18 at 16:19


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408402%2frich-link-preview-in-flutter%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    'app-layout' is not a known element: how to share Component with different Modules

                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                    WPF add header to Image with URL pettitions [duplicate]