0

Post to meme using cron

Don't mind the title of this post. Here is the info:

I am building an app that authenticates a user, stores the oauth token and then with cron jobs will post to each users meme account a specific message. So, everything is ready except the posting thing. I store the consumer key and the token secret strings (should i store something else ?). What should i use so that my app will be able to post to meme automatically using the stored keys?

I am using PHP to do this. I know the YQL insert command for posting but i can't manage to create the right object that will post it.

Sorry if my info is not clear enough.

by
2 Replies
  • Actually, the term "token_secret" is not accurate enough - there's a "secret" for both the "request token" (step 2) and the "access token" (step 4)

    You have to store the "access token" - the one you get on the step 4 of the flow below - and you need to refresh it from time to time, also (probably 1 hour intervals).

    Oauth flow: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html

    Regards,
    Bruno
    0
  • Hello Bruno and thanks for the reply.

    The problem is bigger than just authenticating... Even with a valid session, i can't post to meme. I created another topic on http://developer.yahoo.net/forum/index.php?showtopic=3122 that explains whats going on. This is very strange...
    0
This forum is locked.

Recent Posts

in Meme-General discussion