Flutter, how to make simple screenshot share? - flutter

I search for a simple solution to share a screenshot of social media in flutter.
I found this package ( https://pub.dev/packages/screenshot_share_image ) but it's not intuitive, when I press the button to take a screenshot, I have a full screen of the screenshot in another page, but to understand that it's another page, you have to click on the screen to display the sharing icon... I search a simple way just click on the button to open a dialog to share with a social account.

Related

Flutter Show a page every time the user opens the app, until they click a button, then it should show a different page when they open the app

The problem I’m asking is how to have a kind of page (call it SetupPage) that is only shown until the user presses a button on the screen. Then when the screen should show the next page(call it HomePage) and every time the app is opened after the button press, the normal page will be HomePage.
I’ve seen this general idea in many apps (sign-in and home page, enter phone number or school and main page, etc) and I would like to have it in my app! I’m thinking of using Navigator routes and having the stack be this at first:
(HomePage, SetupPage)
and then once the button is pressed I can pop SetupPage. But I’m not sure how to implement this.
I already have the SetupPage and HomePage classes made. I’m not doing a sign-in the SetupPage or anything like that. I’m not using FireBase in this app either.
You can use the Flutter package shared_preferences to save a Boolean that tell you at the start of the program is the button pressed or not.

How to change the facebook ui feed size?

I have included share button in my website. The share button works fine in web browsers.
But when access through mobile, after clicking the share button, the share popup size is same as web browser. So it is not getting displayed properly.
Can anyone please suggest, how to alter the height and width of the feed popup?
Thanks.
Afaik you cannot change the appearance and size of the popups made with FB.ui. You could try opening your own popup:
https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.0
See "URL Redirection".
One other possibility is to use the "sharer.php", it is even easier to handle because you only need to add the URL as parameter and it will automatically get the Open Graph data from that URL.

facebook show recommend count on mouse over

I am using Addthis plugin. I have an "F" icon on the page. I want it to work as recommend functionality.
is there anyway to do following
if somebody click on F, it should work as recommend is clicked, and on move over this F, it should just show the Count of recommend
we do not want to show standard recommend box with count
Secondly question, when i click on any like button it also show another Share Popup, but even even if i cancel this popup, still my timeline show i have recommended that particular page.. then what is use of that popup.
You can use the Facebook Dialog JavaScript to show a Share dialog for a custom button. Or use the Send Dialog button to create a private share dialog.
The "Comment Box" on the Like Button is optional, it's not required. If you enter a comment, it adds it to the Like post that appears on your timeline. But you can still like a page without entering a comment. A Like with a comment appears more prominent on the user's timeline.

Facebook Like Button doesn't share

I have add like button on my webpage www.zabavax.com (iframe). Count is work ok, but like button doesn't share post (link) on Facebook.
P.S. Like button on the left side and after post. When i click on right or after post like button liked link dont show on my Timeline and on friends news feed
I think Facebook has changed the behaviour of the like button. A link will be shared ONLY if the user adds a comment.
Your like button in the top right corner of your URL functions correctly.
I was able to post to my profile when I clicked on it.
I believe your issue is with the first-time popup that appears (also with its own like button) When I clicked that like button the popup disappeared and I didn't manage to post to my profile.

How to add a link to a website with a button and get back to the app

I was wondering how to add a link to a website so that when the user taps on a button, he will be taken to that webpage, but can then hit an x in the top left corner or hit the home button and then it will take them back to their app. I want it to be like iad where it doesn't close your app when you click on that link.
You can implement your own UIWebView in your app which will display the link, and handle all of the navigation. There are many tutorials on the web. Hope that Helps!