Is it possible to display Moment (timeline) from WeChat in UIWebView or any other way to retrieve the timeline contents so I can display it in my app?
I need to display the timeline of an official account from WeChat in my app just like how we display a Facebook page in app through UIWebView. I had tried WeChat API but it only allows sharing contents to WeChat app.
Previously I tried directing my app to launch WeChat app for sharing/publishing contents, but Apple had rejected it and the reason is user needs to install other app in order to use our app feature.
Thanks so much for your time =]
Related
Is Firebase Dynamic Links meant to work with App Clips? If the app isn't installed on iOS I would like the App Clip to popup instead of taking users to the App Store? Is this possible?
Here are the scenarios I would like to have happen:
iOS
User does not have the app installed and clicks the link - App Clip opens.
User has the app installed and clicks the link - App opens
Android
User does not have the app installed and clicks the link - Google Play Store opens.
User has the app installed and clicks the link - App opens
Other Platforms
Website opens when the link is clicked.
gRPC doesn't work with app clips, so unfortunately all of the swift sdk for firebase will not work with app clips. The best workaround so far is to use REST for reading/writing to firebase and, if you need a listener, to use server side events to provide that functionality.
An app that I recently submitted to the Apple App Store was rejected, due to the following reason: If the WeChat app is not installed and the user clicks a button "Login with WeChat", a dialog pops up telling the user they must install the WeChat app to log in with it. (if the app is installed, the user is bumped over to the WeChat app to finish login)
Apple suggested that we instead use a Web View to log the user in via WeChat, however the WeChat guide for mobile login states that mobile apps must log in through the WeChat app:
http://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_open/docs/mobile/login/guide
I'm a little confused here because a previous app I had submitted was approved using this setup. In the app I'm currently trying to submit, the user is able to skip WeChat login if they wish, so WeChat installation is not required to use the app. However, it would be nice to be able to tell the user that WeChat is a login option, and that they need to install the WeChat app if they'd like to use it as a login option.
Does anyone know if it's allowable and/or possible (wrt WeChat's system) for an iOS app to log a user in via WeChat using a Web View? It seems that telling the user that WeChat is an available login option might not be possible otherwise...
To answer your question, We don't have any other Webview options to login with Wechat. (as of dated Jan 2018)
I had the same rejection from Apple some time back. After a lot of front and back questions and answers with Apple team, We finally hide the button to login with Wechat when Wechat App is not installed and the review passed. Most of the Chinese apps following the same method AFAIK.
Wechat iOS framework does provide an option to check app installed or not.
+ (BOOL)isWechatAppInstalled;
From the following code, you can check whether the Wechat app is installed in yours phone or not
if WXApi.isWXAppInstalled() {
print("Wechat app is installed")
} else {
print("Wechat app is not installed")
}
When I tap on some Sound Cloud content on FB timeline, FB iPhone app shows Action Sheet with these options:
Open Web page
Install Sound Cloud app
How do I call action sheet on Facebook content in a Facebook iOS app? Was that a special feature FB gave Sound Cloud?
You may check Facebook developer documentation :
One of the most interesting aspects of sharing to Facebook from your
app is that when people engage with the news feed stories posted from
your app, those stories can send people to your app or your app's App
Store page, driving traffic and app installs. You can implement this
behavior using App Links.
When you set up App Links, you can control what happens when someone
taps on one of the links shared through your app or on the story
attribution (name of your app) in one of the Open Graph stories shared
through your app. If your app has web content, people will be
redirected to a web view of that content. If your app is installed
there may be an open button that launches your iOS app. if your app
isn't installed, there will be an install option to direct people to
your app's App Store page. If your app is mobile-only (no web content)
then tapping the shared link will either direct people to your app (if
it's installed) or to your app's App Store page (if your app isn't
installed)
App Links on iOS
Sharing on iOS
How would I, using the share sheet, share a UIImage on Pinterest and have it link to my app. So that Pinterest users could install my app directly from the Pinterest app?
http://blog.pinterest.com/post/110786995184/install-the-best-new-iphone-and-ipad-apps-from
I can do do manually on my mac. Using the Pinterest browser button I can pin an image, either from my device or from a webpage, and then edit the pin's source to an iTunes page, i.e. https://itunes.apple.com/gb/app/snapchat/id447188370?mt=8
... then it will allow me to install Snapchat from within Pinterest app. I'm just not sure how I can do this within my app, with a custom image.
Sharing with Pinterest, via the share sheet, only allows you to share an image. If you look closer at the Pinterest iOS SDK, you're still limited to sharing the following details:
Image URL
Source web page
Description
When you tell the SDK to pin the image + page, you are taken into the Pinterest app, and the rest is handled there.
The idea you're asking about is a deal between Apple and Pinterest. It seems possible to pin your app's iTunes URL in order to provide this special capability. I haven't seen any details about how this actually works. Is it possible from the share sheet? Maybe - try pinning from the iTunes website.
I am creating an iOS app (using Adobe AIR) and I want to put a share button to my game that will allow the player to share a link to my game. I can do it with Graph API using my app's token, but I don't want a story published by my app. I want the native Facebook app to open and bring a share dialog. All my research concluded me to use the custom URL scheme such as fb://publish/?text=my_text but I couldn't get it working. I tried typing exactly that in Safari, it brings the native Facebook app, but no publish dialog or anything. All the sources online tells this, but it is not working. What could I be possibly doing wrong?