I want to add code to my iOS app which prompts users to "like" my app's Facebook page after they use the program X number of times. However I want to keep it as simple as possible for the user. What are the best practices for programmatically "liking" a page? Right now, I have a link to my Facebook page in the "Help" screen, but I want to make it more visible to the user and try to get more "fans."
There's no API to actually create a Like connection.
No, there isn't really way to like anything without user's click. It's because of malicious applications/sites
Related
I am creating a flow that:
1) takes the user from my iOS app to my website through Safari
2) and then navigates back into the app via javascript
However when I try and redirect the user back to my app from my site using url schemes, i get the familiar "Open this page in 'appName'" alert.
Is there a way to avoid this alert from showing up? Is there some way to whitelist my website as a source for my app to allow me to direct the user back to my app w/out any alerts?
It seems like it might be possible with Universal Links, but I am wondering if there is a simpler way to do so.
EDIT: I should have mentioned that I have the unique requirement that I need to use Safari. I am processing donations in my app, and Apple requires you to go this through Safari and not a webview. Any ideas? –
You can achieve this using webView instead of Safari,so that
control will not go out of the App.
Now the problem is how to get the click from webView, for that you can
use this approach
How to invoke Objective C method from Javascript and send back data to Javascript in iOS?
I have integrated this approach in my App so this approach will work for sure. It feels like you are in APP & some times it will diificult to differentiate between WebPage & native page
I have integrated facebook SDK in ios,and now want to use like action. For this, I have used like logo of facebook but this is rejected with following message-
"Please address the following feedback from our review team. Once you have made the changes listed below you may resubmit for review.
Thanks for making changes to your submission. This action type still doesn’t meet our criteria to become available to users. Here are the remaining changes that you need to make to your action type: Your button branding doesn’t follow Section 5.6 of the Facebook Terms and Section I.8 of the Platform Policy: https://developers.facebook.com/docs/guides/policy/examples_and_explanations/branding/ The graphics must reflect your own branding and the user experience of your site. Learn more about branding: https://developers.facebook.com/docs/opengraph/submission-process/#uex."
If I will use like button as my application theme, then how user will know that he is going to like on facebook.
According to facebook
You can use the Built-in Like action to create custom buttons in your
app, but the button must not emulate or otherwise copy the design of
Facebook’s Like buttons. For example, you may not use a “thumbs up”
image with the word “like” in your Open Graph actions without prior
written permission from Facebook, and any custom like button you
create must not confuse users into thinking that your Open Graph
action will result in a connection to a Facebook Page.
They have clearly stated that "you may not use a “thumbs up” image with the word “like”"
So what's best thing which you can do ??
just a thumbs Up button.
You may not be allowed to use same button as Facebook has, as per Apple's guidlines.
So, in that case, you can put the same button but with different color OR you can even change the sign of fingers and make a little change in the icon. It will create an impression of Facebook like button but it is not exactly same as it.
As the title suggests how to disable the name from appearing when sharing on Facebook. Is it default?
For example, I want to remove the part "via HelloFBSample":
This is because when you click that text, it appears like this:
How to avoid this? Need some guidance on this...
There's no way to disable it.
BTW, the link is only failing because it's a sample app, and there's no website or Facebook page set up for the app. If you built an app and configured it with either a web address or Facebook page, it would redirect to that instead.
If you use the built-in sharing functionality of iOS, SLComposeViewController, this should show that the post was made with Facebook for iOS and avoid your problem.
Is there a way to share to both Facebook and Twitter at the same time? It seems like bad form to display the facebook popup, have the user write their text, then after they submit open the Twitter popup.
edit: I am asking if this is possible using iOS 6 sharing framework, and if so how.
No, it is not possible to share to Facebook and Twitter at the same time. You have to first write text in the Facebook screen and then in the Twitter screen, or vice versa.
Maybe it is possible to write something in the Facebook screen, store it in a variable and use it with SLComposeViewControllers' setInitialText method.
I am new in handling apps that will be connecting with Facebook.
I want to let my user log in my app with Facebook account and be able to send something, for example, a gift to their Facebook friends.
I want to get the user's friends list and which is very easy by using FBFriendPickerViewController. However, I want to have an effect that if their Facebook friend(s) is/are also using my app, the app icon will be shown at the right hand side of the user table cell (Just like some Phone Contact lists will show if the contact has Whatsapp/ Google+)
I have been searching through sites but still find nothing about this.
So my question is, is there any "official" way (using Facebook SDK method) to show the icon?
Or I have been thinking of another approach is that, I first get the friend list and then saved it, with the information that whether the "friend" is using my app or not. Then I create a custom friend picker view and check the condition to enable/disable the visibility of the app icon.
I can get the information by using approached of using GraphAPI fields or using external database, for which are mentioned in this , this and this .....
Anybody help?
Ok I end up with customizing my own table view... : )