facebook iOS - share- not showing app icon when posting on wall - xcode

I followed the login and share tutorial on developers.facebook.com and when posting on wall the app icon does not appear on post. it only shows labels and user input text. how do I make that app icon to show? does it have to be uploaded or is it something that I configure? before posting any answers or recomendations I already uploaded a photo to the developers.facebook dashboard. thank you in advance.. http://developers.facebook.com/docs/howtos/publish-to-feed-ios-sdk/ :
self.postParams =
[[NSMutableDictionary alloc] initWithObjectsAndKeys:
#"https://developers.facebook.com/ios", #"link",
#"https://developers.facebook.com/attachment/iossdk_logo.png", #"picture",
#"Facebook SDK for iOS", #"name",
#"Build great social apps and get more installs.", #"caption",
#"The Facebook SDK for iOS makes it easier and faster to develop Facebook integrated iOS apps.", #"description",
nil];

for anyone who had the same problem.. just upload the icon into a photo sharing site like photo bucket and assign that link to the code..

Related

No full-size app banner :Eligibility issues by version

I am trying to publish an update to my android app and the review done by play console is rejecting the app. I have added different xhdpi icons and changed the app title as well. More than 4-5 iterations have been done.
I have already added xhdpi icons and changed the title of the icons/banners to match the app title. Added icons in the drawable folder
No specific code.
Successful app publishing.
Please refer the message
Following is the message:-
I want to post an update here. The issue got resolved when I added the app title on the image used as a banner/icon.
I received a detailed response from Google Playstore team that my app banner/icon was not having app title which should be visible for end users trying to lauch the app from launcher.
Following was the response.
Please note that our banner requirements are as follows: App name
must be included in the image.
It looks like you are targeting Android TV. Do you want to? If you do, then click on the link in the message you were sent. It will take you to the docs on providing a Home Screen Banner inside your app.
If you think you have done this then update your question to show your AndroidManifest.xml.

Open Facebook Post in Facebook App From iPhone App

If I have the id of a Facebook post, how can I open it in the native Facebook app? I am able to open links using [UIApplication sharedApplication] but I cannot come up with the correct URL scheme. For instance, fb://profile/pidhere works to open the profile but I can't figure out how to open an individual post. Thanks a bunch!
It's been asked many times here. And the answer is: it's not possible.
There are methods to do this on Android, but that is not officially supported. You should not rely on it. This is the same for iOS. Some links work, but they are unsupported, can change any time and for some items, such as posts, it's not possible at all.

Handling Images in PhoneGap

Current Behavior:
I have build a PhoneGap application that takes photos using Camera and the upload to a server. User can see all the photos that are uploaded as thumbnails.
What I am trying to do:
I want that the user should be able to tap on a photo thumbnail and the selected photo should open in the default image viewer for iOS/Android. Also, user should be able to swipe the photo in the default image viewer to see additional photos. This behavior is similar to what Facebook or any other app implements.
I am not sure how this feature is implemented and I am surprised that there is no one who faced this problem.
Thanks for all the help
Try this:
I haven't checked it, but it should work fine.

Displaying Google Map on a UIWebView

i have this url:
If i open it up in the iphone or in the ipad, the uiwebview displays the step-by-step to reach the final place.
I want to display the MAP by default.
Is there any way to do that? I mean, with some kind of adaptation of the url?
I have the same question,
according to Apple URL Scheme Reference - Map Links
it seems that we don't have an option to do that.
besides, there's an article building a WEB APPs, I'll post the link in case it might be helpful
Location in iPhone Web Apps

How do I send SMS without launching Text application?

I am developing a simple application which has to send an SMS message from the app itself instead of launching the native Text app.
Here's my action now. What should I change to achieve my desired functionality?
-(IBAction)startButtonPressed
{
NSString *phoneNumber = #"13136296693";
NSString *url = [NSString stringWithFormat: #"sms:%#",phoneNumber];
NSLog(#"Send SMS to: %# ", url);
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];
}
Thanks!
Thomas
If I'm not mistaken I think sending text messages via your own application is only available in the iPhone 4.0 SDK.
Can't be done with the current SDK. I believe Apple announced that applications in iPhone OS 4.0 will be able to do this, using a similar interface to the existing MFMailComposeViewController malarkey.
Here's what apple says:
https://web.archive.org/web/20140604143837/http://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/SystemMessaging_TopicsForIOS/Articles/SendinganSMSMessage.html
Here's a tutorial fon another forum.
http://iosdevelopertips.com/core-services/how-to-send-an-sms-progammatically.html
It's still not entirely automated. The user has to tap the send button. I haven't gotten it working yet. Tell me if you have better luck. If you can think of a way for me to program my app to "tap" the send button instead of the user, let me know.

Resources