Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-17-2011, 08:12 PM   #1 (permalink)
Try This At Home
 
Gweetle's Avatar
 
Join Date: Nov 2010
Location: Planet Earth
Posts: 208
Gweetle is on a distinguished road
Default Facebook Publish Stream with Message?

I'm using facebook to publish a message to the user's facebook page. I am able to get the pop up that lets the user enter in their own message, but I want the message to be already filled out for them.

I am using
Code:
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                   kAppId, @"app_id",
//other params
                                   @"Hello.",  @"message",
                                   nil];
    
    [_facebook dialog:@"feed" andParams:params andDelegate:self];
but it is keeping the message blank, instead of changing it to "Hello.".

Here is facebook's post saying this is possible: Feed Dialog - Facebook Developers

Thanks for any help!
__________________
Gweetle is offline   Reply With Quote
Old 08-17-2011, 10:56 PM   #2 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 22
Tinyted is on a distinguished road
Default

Just out straight from the top of my head. Since I haven't touched facebook apis and what not. I assume the user enters the message on an iOS device in a textfield. Perhaps the textfield is not updated with the message? Not sure if that's the case, just giving my lousy shot at this.
Tinyted is offline   Reply With Quote
Old 08-18-2011, 01:03 PM   #3 (permalink)
Try This At Home
 
Gweetle's Avatar
 
Join Date: Nov 2010
Location: Planet Earth
Posts: 208
Gweetle is on a distinguished road
Default

Quote:
Originally Posted by Tinyted View Post
Just out straight from the top of my head. Since I haven't touched facebook apis and what not. I assume the user enters the message on an iOS device in a textfield. Perhaps the textfield is not updated with the message? Not sure if that's the case, just giving my lousy shot at this.
Yes, the user can enter the text in the textfield, but the facebook api is supposed to have this text preentered, based on what I tell it to. Anyone else?
__________________
Gweetle is offline   Reply With Quote
Old 08-27-2011, 02:33 PM   #4 (permalink)
Try This At Home
 
Gweetle's Avatar
 
Join Date: Nov 2010
Location: Planet Earth
Posts: 208
Gweetle is on a distinguished road
Default

I still can't figure this out..
__________________
Gweetle is offline   Reply With Quote
Old 09-13-2011, 03:14 PM   #5 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 1
habitoti is on a distinguished road
Default

Quote:
Originally Posted by Gweetle View Post
I still can't figure this out..
Check the API doku -- since July 2011, the message parameter is no longer considered (due to privacy policies, which seems questionable to me specifically in this case. It breaks a lot of usages that implemented it like this :-( )
habitoti is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 391
14 members and 377 guests
7twenty7, chiataytuday, cristofercolmbos, dedeys78, fiftysixty, gmarro, iOS.Lover, jimmyon122, jonathandeknudt, pungs, raymng, stanny, tymex, UMAD
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,669
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, dedeys78
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:09 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0