php - Posting Twitter/Facebook-Status without authenticating? -


i'm working way through facebook-iphone-sdk , mgtwitterengine , i'm wondering why has hard.

i'm not planning access data 2 social networks, allow users of app post message status/update.

now after installed facebook-iphone-sdk realized send safari authenticate @ facebook , app. seems overly complicated users of app, if want post don't have go back.

isn't there way, call like

http://api.twitter.com/version/statuses/update?text="this new status text" 

?


edit: first answer

http://twitter.com/home?status=[url encoded tweet]. 

is need. unfortunately works on laptop, though if not logged in on iphone, presented a screen 1 has press "login" once. (at url "mobile.twitter.com/home?status=[]"). pressing login there links "mobile.twitter.com/session/new" without status argument , once authenticated status message lost.

the url you're looking is:

http://twitter.com/home?status=[url encoded tweet]. 

this open window of twitter and, if logged in, populate tweet tweet box.

for facebook share, url is

http://www.facebook.com/share.php?u=http://shareurlgoeshere 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -